Type alias MultiEventHandler<TEventMap, TEventSubset>

MultiEventHandler<TEventMap, TEventSubset>: (<TEvent>(event: TEvent, payload: TEventMap[TEvent]) => void)

Type Parameters

Type declaration

    • <TEvent>(event: TEvent, payload: TEventMap[TEvent]): void
    • Type Parameters

      • TEvent extends ElementType<TEventSubset>

      Parameters

      • event: TEvent
      • payload: TEventMap[TEvent]

      Returns void

Generated using TypeDoc