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