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>,
|
): Promise<any>,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hook into a specific CDP method being called.
|
* Hook into a specific CDP method being emitted.
|
||||||
* @returns Function to unhook/unsubscribe.
|
* @returns Function to unhook/unsubscribe.
|
||||||
*/
|
*/
|
||||||
on(
|
on(
|
||||||
/** Method of CDP command to hook into. */
|
/** Method of CDP event to hook into. */
|
||||||
method: string,
|
method: string,
|
||||||
|
|
||||||
/** Callback to run when the given method is emitted. */
|
/** Callback to run when the given method is emitted. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user