typedef: tweak cdpapi
This commit is contained in:
parent
925cd87b83
commit
ae333cb864
4
gluon.d.ts
vendored
4
gluon.d.ts
vendored
@ -193,11 +193,11 @@ type CDPApi = {
|
||||
): Promise<any>,
|
||||
|
||||
/**
|
||||
* Hook into a specific CDP method being called.
|
||||
* Hook into a specific CDP method being emitted.
|
||||
* @returns Function to unhook/unsubscribe.
|
||||
*/
|
||||
on(
|
||||
/** Method of CDP command to hook into. */
|
||||
/** Method of CDP event to hook into. */
|
||||
method: string,
|
||||
|
||||
/** Callback to run when the given method is emitted. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user