@botmesh/core - v2.0.0-alpha.2
    Preparing search index...

    Interface ScheduledRun

    One occurrence of a durable task, passed to its handler.

    interface ScheduledRun {
        taskId: string;
        scheduledAt: Date;
        occurrenceKey: string;
        fencingToken: number;
        missed: boolean;
        signal: AbortSignal;
    }
    Index
    taskId: string

    The task's DurableTaskOptions.id (without the store namespace).

    scheduledAt: Date

    The slot this run covers (not the wall clock at which it started).

    occurrenceKey: string

    ${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: number

    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: boolean

    true when the run comes from the 'run-once'/'catch-up' missed-run policy.

    signal: AbortSignal

    Aborted when the scheduler stops or the lease on this occurrence is lost.