footprintjs - v11.2.0
    Preparing search index...

    Interface CallOptions

    What scope.$call(target, fn, policy, options) declares beyond its policy (P3): the outside system the call touches, and the key it is made under. A call that touches a system and may retry must carry a key; the key is a VALUE the stage computed from its input or its state — never from model output — and is checked like a stage's.

    interface CallOptions {
        evidence?: CallEvidence;
        idempotencyKey?: string;
        touches?: string;
    }
    Index
    evidence?: CallEvidence
    idempotencyKey?: string

    The key every attempt of the call is made under — only with touches. When the stage can interrupt(), derive it from state or from scope.$attempt().idempotencyKey, never from $getArgs(): the input does not cross a resume, so an args-derived key would differ on the re-run.

    touches?: string

    The outside system the call changes — a name like target.