AboutSupportDeveloper GuideVersion 47.154.100.2
OpenFin JavaScript API
    Preparing search index...

    Type Alias Payload<Event, EventType>

    Payload: Extract<Event, { type: EventType }>

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

    Type Parameters

    Each event emitter namespace defines its own reduction of this type that fixes the Event parameter to the appropriate payload union for that namespace.

    String key specifying the event to extract from the union