Interface IEventEmittable<T>
Type Parameters
-
T extends Record<string, unknown>
Methods
off
- off<K>(event, listener): void
-
Type Parameters
-
K extends string | number | symbol
Parameters
-
event: K
-
listener: ((value) => void)
-
- (value): void
-
Returns void
Returns void
on
- on<K>(event, listener): void
-
Type Parameters
-
K extends string | number | symbol
Parameters
-
event: K
-
listener: ((value) => void)
-
- (value): void
-
Returns void
Returns void