ByType<Type>: OpenFin.Events.FrameEvents.Payload<Type>

Extracts a single event type matching the given key from the FrameEvent union.

Alias for Payload, which may read better in source.

Type Parameters

  • Type extends FrameEventType

    String key specifying the event to extract