AboutSupportDeveloper GuideVersion 41.131.100.46

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.