Methods
emit
-
emit(event: string,
...args: any[]): boolean
-
Parameters
-
event: string
-
Rest
...args:
any[]
Returns boolean
emitAsync
-
emitAsync(event: string,
...args: any[]): Promise<any>
-
Parameters
-
event: string
-
Rest
...args:
any[]
Returns Promise<any>
on
-
on(event: string, cb: Types.Listener): Promise<any> | void
-
Parameters
-
event: string
-
cb: Types.Listener
Returns Promise<any>
|
void