Skip to main content

Module completion

Module completion 

Source
Expand description

Input completion waiters — allows callers to await terminal outcome of an accepted input.

When a surface accepts an input via the runtime, it can optionally receive a CompletionHandle that resolves when the input reaches a terminal state (Consumed or Abandoned). This bridges the async accept/await pattern needed for surfaces that want synchronous-feeling turn execution through the runtime.

CompletionRegistry is waiter plumbing only. Production code must never treat waiter presence, waiter counts, or sender membership as semantic runtime truth.

Structs§

CompletionHandle
Handle for awaiting the completion of an accepted input.
CompletionRegistrySnapshot
Diagnostic snapshot of the completion waiter registry.
CompletionWaiterEntrySnapshot
Snapshot of one input’s registered completion waiters.

Enums§

CompletionOutcome
Outcome delivered to a completion waiter.