Interface IUntilSubscriber<H, E>
Methods
subscribe
- subscribe<K>(event: K, handler: IterableOr<Handler<H, K extends any[] ? E[K[number]] : E[Extract<K, keyof E>]>>, priority?: number): H
-
Type Parameters
-
K extends string | number | symbol | (keyof E)[]
Parameters
-
event: K
-
handler: IterableOr<Handler<H, K extends any[] ? E[K[number]] : E[Extract<K, keyof E>]>>
-
Optional
priority: number
Returns H