interface Receiver { off: ((evt,
cb) => void); on: ((evt,
cb) => void); } Properties
off
off: ((evt, cb) => void)
Type declaration
- (evt, cb): void
Parameters
- evt: "message"
- cb: ((msg) => void)
Returns void
on
on: ((evt, cb) => void)
Type declaration
- (evt, cb): void
Parameters
- evt: "message"
- cb: ((msg) => void)
Returns void