Method
off
(event: K, callback?: (data: IncomingEvents[K]) => any)
Source from the content-addressed store, hash-verified
| 358 | } |
| 359 | |
| 360 | off<K extends keyof IncomingEvents & SystemEvents>(event: K, callback?: (data: IncomingEvents[K]) => any): void { |
| 361 | return this.emitter.off(event as string, callback) |
| 362 | } |
| 363 | |
| 364 | on<K extends keyof IncomingEvents>(event: K, callback?: (data: IncomingEvents[K]) => any): void { |
| 365 | return this.emitter.on(event as string, callback) |
Callers
nothing calls this directly
Tested by
no test coverage detected