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

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

Alias for Payload, which may read better in source.

Type Parameters

  • Type extends ViewEventType

    String key specifying the event to extract