TaskFiring
interfaceOne delivery of a task's trigger. Event firings carry the triggering payload in `value` — the most recent occurrence when the trigger used `settleFor`. Schedule firings carry `undefined` and name the slot they fired for in `scheduledFor`; when the host was closed at fire time and the task declared `catchUp`, that slot is in the past.
Import
import { TaskFiring } from '@modular/sdk';Members4
- firedAt
numberWhen the scheduler delivered this firing (epoch ms).
- kind
'event' | 'schedule'- scheduledForoptional
numberThe schedule slot this firing satisfies (epoch ms). Schedule firings only.
- value
TPayload