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