Type Alias OrchestrationEvent<KEventName>

OrchestrationEvent<KEventName>: {
    type: KEventName;
    data: OrchestrationMapping[KEventName];
}

Represents an event emitted by a widget.

Type Parameters

  • KEventName extends keyof OrchestrationMapping

    The orchestration event name.

Type declaration

  • type: KEventName

    The type of the event.

  • data: OrchestrationMapping[KEventName]

    The data associated with the event.