getContext
getContext():
WorkflowContext
Defined in: core/src/core/context.ts:149
Returns
Section titled “Returns”Deprecated
Section titled “Deprecated”Use the context parameter directly from workflow handlers instead. The context passed to handlers already includes all state properties.
Example
Section titled “Example”workflow.handle([startEvent], (context, event) => \{ const { sendEvent \} = context; sendEvent(processEvent.with());});