Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PayloadSender<TEvent>

Type parameters

Hierarchy

  • PayloadSender

Callable

  • Send an event object or just the event type, if the event has no other payload

    Parameters

    • event: TEvent | ExtractSimple<TEvent>["type"]

    Returns void

  • Send an event type and its payload

    Type parameters

    • K: TEvent["type"]

    Parameters

    Returns void

Generated using TypeDoc