hacifootprint
hcifootprintInterfaces

ActionInvocation<Output, Id, Behavior>

Interface: ActionInvocation<Output, Id, Behavior>

Defined in: src/action/types.ts:520

Type Parameters

Output

Output

Id

Id extends string = string

Behavior

Behavior extends "mutation" | "host-continuation" = "mutation" | "host-continuation"

Properties

behavior

readonly behavior: Behavior

Defined in: src/action/types.ts:529

Which application behavior this occurrence executed.


input

readonly input: Behavior extends "host-continuation" ? object : Behavior extends "mutation" ? { provided: false; source: "none"; } | { provided: true; ref: ActionInputRef<"bound">; source: "bound"; } | { provided: false; source: "bound"; } | { provided: true; ref: ActionInputRef<"caller">; source: "caller"; } | { provided: false; source: "caller"; } : ActionInvocationInput

Defined in: src/action/types.ts:531

Auditable input origin; the payload value itself is deliberately not disclosed.


progress?

readonly optional progress?: Behavior extends "host-continuation" ? never : ActionProgress

Defined in: src/action/types.ts:541

Present only for a mutation whose definition declared progress stages.


transition

readonly transition: ActionTransitionRef<Id>

Defined in: src/action/types.ts:527


whenEffectSettled

readonly whenEffectSettled: Promise<ActionEffectSettlement<Id>>

Defined in: src/action/types.ts:539

Authoritative effect observation. Handler completion never settles it.


whenInvoked

readonly whenInvoked: Promise<ActionInvocationSettlement<Output, Id>>

Defined in: src/action/types.ts:537

Invocation outcome. This promise always resolves; refusal/failure are data.

On this page