Properties
callbacks
callbacks: {} = {}
Type declaration
[s: string]: ((...args: any[]) => any)[]
Methods
emit
- emit(event: string, ...args: any): void
Parameters
event: string
Rest ...args: any
Returns void
on
- on(event: string, cb: (...args: any) => void): void
Parameters
event: string
cb: (...args: any) => void
Returns void