Type declaration
on: ((event, callback) => IEventLike)
- (event, callback): IEventLike
Parameters
- event: string | symbol
- callback: ((...args) => void)
- (...args): void
Returns void
once: ((event, callback) => IEventLike)
- (event, callback): IEventLike
Parameters
- event: string | symbol
- callback: ((...args) => void)
- (...args): void
Returns void