Structs§
- Append
Frame Outcome - Outcome of
append_frame(). - Claimed
Task - A claimed execution with an active lease. The worker processes this task
and must call one of
complete(),fail(), orcancel()when done. - Idempotency
Key - Partition-scoped idempotency key for retry-safe
EngineBackend::suspend. - Resume
Policy - Resume-side policy carried alongside
ResumeCondition. - Resume
Signal - A signal that triggered a resume, readable by a worker after re-claim.
- Signal
- A signal to deliver to a suspended execution’s waitpoint.
- Stream
Frames - Result of
read_stream/tail_stream— frames plus the terminal signal so polling consumers can exit cleanly. - Suspend
Args - Trait-surface input to [
EngineBackend::suspend] (RFC-013 §2.2 + RFC-014 Pattern 3 widening). - Suspend
Outcome Details - Shared “what happened on the waitpoint” payload carried in both
SuspendOutcomevariants. - Suspended
Handle - RFC-013 Stage 1d — cookie returned by the strict
suspendwrapper.
Enums§
- Composite
Body - RFC-013 reserves this enum slot; RFC-014 populates it with the
concrete composition vocabulary (
AllOf+Count). The enum is#[non_exhaustive]so RFC-016 or later RFCs may add variants (AnyOfhas been explicitly rejected per RFC-014 §2.3 in favour ofCount { n: 1, .. }; the guard exists for orthogonal future work). - Count
Kind - How
Countnodes distinguish satisfiers. RFC-014 §2.1 + §3.2. - Fail
Outcome - Outcome of a
fail()call. - Resume
Condition - Declarative resume condition for
SuspendArgs::resume_condition. - Resume
Target - Where a satisfied suspension routes back to.
- Signal
Matcher - v1 signal-match predicate inside
ResumeCondition::Single. - Signal
Outcome - Outcome of
deliver_signal(). - Stream
Cursor - Opaque cursor for
read_stream/tail_stream— re-export offf_core::contracts::StreamCursor. Wire tokens:"start","end","<ms>","<ms>-<seq>". Bare-/+are rejected — useStreamCursor::Start/StreamCursor::Endinstead. Opaque cursor for attempt-stream reads/tails. - Suspend
Outcome - Trait-surface output from [
EngineBackend::suspend] (RFC-013 §2.3). - Suspension
Reason Code - Reason category for a suspension (RFC-004 §Suspension Reason Categories).
- Suspension
Requester - Who requested the suspension.
- Timeout
Behavior - Timeout behavior at the suspension deadline (RFC-004 §Timeout Behavior).
- TrySuspend
Outcome - RFC-013 Stage 1d — outcome of the fallible
try_suspendwrapper. - Waitpoint
Binding - How the waitpoint resource backing a
SuspendArgsis obtained.
Constants§
- MAX_
TAIL_ BLOCK_ MS - Maximum tail block duration accepted by
tail_stream. Mirrors the REST endpoint ceiling so SDK callers can’t wedge a connection longer than the server would accept. - STREAM_
READ_ HARD_ CAP - Maximum frames per read/tail call. Mirrors
ff_core::contracts::STREAM_READ_HARD_CAP— re-exported here so SDK callers don’t need to import ff-core just to read the bound. Hard cap on the number of frames returned by a single read/tail call.
Functions§
- parse_
report_ usage_ result - Parse the wire-format result of the
ff_report_usage_and_checkLua function into a typedReportUsageResult. - read_
stream - Read frames from a completed or in-flight attempt’s stream.
- tail_
stream - Tail a live attempt’s stream.
- tail_
stream_ with_ visibility - Tail helper with an explicit RFC-015
TailVisibilityfilter.