- EventHandler<E, K>(emitter: E, event: K, priority?: number): ((host: any, property2: string | number | symbol, descriptor: TypedPropertyDescriptorFunctionAnyNOfParams<Handler<E, K>>) => void)
-
Type Parameters
-
-
K extends string | number | symbol
Parameters
-
emitter: E
-
event: K
-
Optional
priority: number
- EventHandler<E, K>(emitter: E, event: K, priority?: number): ((host: any, property2: string | number | symbol, descriptor: TypedPropertyDescriptorFunctionAnyNOfParams<Handler<IEventEmitterHost<Events<E>>, K>>) => void)
-
Type Parameters
-
E extends HostOrHostClass
-
K extends string | number | symbol
Parameters
-
emitter: E
-
event: K
-
Optional
priority: number