Skip to main content
Defined in: core/types.ts:392 One occurrence of a durable task, passed to its handler.

Properties

taskId

Defined in: core/types.ts:394 The task’s DurableTaskOptions.id (without the store namespace).

scheduledAt

Defined in: core/types.ts:396 The slot this run covers (not the wall clock at which it started).

occurrenceKey

Defined in: core/types.ts:401 ${taskId}@${scheduledAt.toISOString()}: stable per occurrence, so a run retried after a crash or a lost lease reuses it. Use it as an idempotency key.

fencingToken

Defined in: core/types.ts:406 Fencing token of this claim: strictly increasing per task id (also across deletes). Pass it downstream to reject stale writes. The runs of one catch-up share their claim.

missed

Defined in: core/types.ts:408 true when the run comes from the 'run-once'/'catch-up' missed-run policy.

signal

Defined in: core/types.ts:410 Aborted when the scheduler stops or the lease on this occurrence is lost.