Sanity Library Reference Docs
    Preparing search index...

    The emitted scheduled heartbeat. reasons is non-empty: a 'function'-hosted workflow reading $now adds the sampling reason, and any emitted drain adds the sweep reason, so a 'function'-hosted effect can be the only reason even on a durable workflow. A durable or self-hosted deadline adds neither. Once emitted, a heartbeat ticks every in-flight instance in its tag, whatever hosts each workflow.

    interface HeartbeatSpec {
        name: string;
        reasons: string[];
        schedule: string;
    }
    Index

    Properties

    Properties

    name: string
    reasons: string[]
    schedule: string