useAbortSignal
Function: useAbortSignal()
useAbortSignal():
AbortSignal|undefined
Defined in: packages/workflow/src/workflow.service.ts:165
Abort signal of the current workflow task attempt
It is aborted on timeout, when the worker loses the task lease, and when the service stops. An operation run by a workflow should observe it to stop early: an attempt that keeps running is ignored, and the task may run again (operations are assumed idempotent).
Returns
AbortSignal | undefined
the signal, undefined outside a workflow task