chrome-debugging-client
Version:
An async/await friendly Chrome debugging client with TypeScript support
13 lines (12 loc) • 504 B
TypeScript
import { EventNotifier } from "./common";
import { IWebSocketDelegate } from "./web-socket-opener";
export interface IDebuggingProtocolClientFactory {
create(): any;
}
export interface IDebuggingProtocolClient extends EventNotifier, IWebSocketDelegate {
send<T>(command: string, params?: any): Promise<T>;
send(command: string, params?: any): Promise<any>;
}
export default class DebuggingProtocolFactory implements IDebuggingProtocolClientFactory {
create(): IDebuggingProtocolClient;
}