Structs§
- AppState
- Control
Result - Result of a control signal.
- Encoded
Message Page - Enqueue
Options - Optional envelope fields for enqueued mailbox entries.
- Mailbox
Service - Event-driven mailbox service that replaces polling-based dispatch.
- Message
Query Params - Prepared
Http Run - Shared HTTP run bootstrap result.
Enums§
- ApiError
- Background
Task Lookup - Cancel
Background RunResult - Control
Signal - Control signal for a thread’s mailbox.
- RunLookup
- Result of checking whether a run is currently active.
Functions§
- cancel_
pending_ for_ mailbox - check_
run_ liveness - After an active-run operation (cancel/forward) fails, check if the run
exists in the persistent store. Returns
RunLookup::ExistsButInactiveorRunLookup::NotFound. - current_
run_ id_ for_ thread - encode_
message_ page - forward_
dialog_ decisions_ by_ thread - load_
background_ task - Look up a background task by run_id (RunStore) or entry_id (MailboxStore).
- load_
message_ page - load_
run_ record - Load the full
RunRecordfor a given run id. - normalize_
optional_ id - parse_
message_ query - require_
agent_ state_ store - resolve_
thread_ id_ from_ run - Resolve the thread id that a run belongs to.
- start_
background_ run - Returns
(thread_id, run_id, entry_id). - start_
http_ dialog_ run - start_
http_ run - truncate_
thread_ at_ message - Truncate a stored thread so it includes messages up to and including
message_id. - try_
cancel_ active_ or_ queued_ run_ by_ id - Cancel by run_id (active run) or entry_id (queued mailbox entry).
- try_
cancel_ active_ run_ by_ id - try_
forward_ decisions_ to_ active_ run_ by_ id