Constructors
constructor
Parameters
coder: Coder<string, string>
Methods
addEventListener
- addEventListener(eventName: string, callback: ((event: any, slot: number, signature: string) => void)): number
Parameters
eventName: string
callback: ((event: any, slot: number, signature: string) => void)
- (event: any, slot: number, signature: string): void
Parameters
event: any
slot: number
signature: string
Returns void
Returns number
removeEventListener
- removeEventListener(listener: number): Promise<void>
Parameters
Returns Promise<void>