Emits a custom event on the in-process message bus.
When called inside an Output activity context, the framework automatically attaches activityInfo, workflowDetails, and outputActivityKind onto the emitted payload.
activityInfo
workflowDetails
outputActivityKind
The name of the event to emit
Optional
An optional payload to send to the event
Emits a custom event on the in-process message bus.
When called inside an Output activity context, the framework automatically attaches
activityInfo,workflowDetails, andoutputActivityKindonto the emitted payload.