Skip to main content

Module execution

Module execution 

Source
Expand description

Typed FCALL wrappers for execution lifecycle functions (lua/execution.lua).

§Partial-type pattern (RFC-011 §2.4)

Post-RFC-011, ExecutionId no longer has Default, so parsers cannot construct result structs with a placeholder execution_id to be overwritten by the caller. Instead, each ff_function! wrapper whose result carries an execution_id returns a *Partial type that omits the field, with a .complete(execution_id) combinator the caller invokes after the FCALL returns (the caller always knows the execution_id — it supplied the id as ARGV).

complete is a total match over the Partial variants, so future result variants that carry an execution_id force a compile error in complete until the new variant is wired through.

Structs§

ClaimedExecutionPartial
Partial form of ClaimedExecution used by the parser path; caller-supplied execution_id is attached via ClaimExecutionResultPartial::complete.
ExecOpKeys
Bundles ExecKeyContext + IndexKeys + lane-scoped index resolution. Passed as the key context to all execution ff_function! invocations.

Enums§

CancelExecutionResultPartial
Partial form of CancelExecutionResult (omits execution_id).
ClaimExecutionResultPartial
Partial form of ClaimExecutionResult.
CompleteExecutionResultPartial
Partial form of CompleteExecutionResult (omits execution_id).
DelayExecutionResultPartial
Partial form of DelayExecutionResult (omits execution_id).
ExpireExecutionResultPartial
Partial form of ExpireExecutionResult.
MoveToWaitingChildrenResultPartial
Partial form of MoveToWaitingChildrenResult (omits execution_id).

Functions§

ff_cancel_execution
ff_claim_execution
ff_complete_execution
ff_create_execution
ff_delay_execution
ff_expire_execution
ff_fail_execution
ff_move_to_waiting_children