AboutSupportDeveloper GuideVersion 40.128.82.13

Type Alias EventHandler<EmitterEvent, EventType>

EventHandler<EmitterEvent, EventType>: ((payload: OpenFin.Events.BaseEvents.Payload<EmitterEvent, EventType>, ...args: any[]) => void)

Handler for an event on an EventEmitter.

Type Parameters

Selects the correct type for the event payload from the provided union based on the provided string literal type.