stuff
This commit is contained in:
parent
bc92231240
commit
b8225c639e
11904 changed files with 1472749 additions and 133 deletions
13
node_modules/chromium-bidi/lib/esm/bidiServer/SimpleTransport.d.ts
generated
vendored
Normal file
13
node_modules/chromium-bidi/lib/esm/bidiServer/SimpleTransport.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { EventEmitter } from '../utils/EventEmitter.js';
|
||||
/**
|
||||
* Implements simple transport that allows sending string messages via
|
||||
* `sendCommand` and receiving them via `on('message')`.
|
||||
*/
|
||||
export declare class SimpleTransport extends EventEmitter<Record<'message', string>> {
|
||||
#private;
|
||||
/**
|
||||
* @param sendCommandDelegate delegate to be called in `sendCommand`.
|
||||
*/
|
||||
constructor(sendCommandDelegate: (plainCommand: string) => Promise<void>);
|
||||
sendCommand(plainCommand: string): Promise<void>;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue