Skip to main content

Module handler

Module handler 

Source

Re-exports§

pub use former_slug::FormerSlugResolver;
pub use former_slug::former_slug_claim;
pub use former_slug::refuse_former_slug_sender;
pub use former_slug::renamed;
pub use name_bindings::NameBindings;

Modules§

deliver_steps
The steps of Handler::deliver_audited, one function each, in the order they ran: tidy the request, resolve its target, confirm the recipient’s identity, decide the jekt tier, then deliver through the controller’s structured channel or as keystrokes. Moved out of deliver_audited without a change in behaviour.
former_slug
Delivery to a slug an agent was renamed from (docs/specs/SPEC_FORK_SLUG_MIGRATION_2026_10_22.md Phase 1): a name nothing is registered under is asked of the store, and a former slug reaches its agent’s registration by UID. Tried only after every live name and current slug has missed, so it never takes a name from its holder, and it adds nothing to a delivery that resolves as before. Only delivery asks for it (resolve_target, Handler::get_delivery_target, Handler::lookup_delivery_target); get_agent and lookup_by_name, which authenticate and act as an agent, never answer a former slug.
name_bindings
A registered block’s names (Handler::block_names).

Structs§

Handler
Core reactive messaging handler.
ReactiveHandler
Thread-safe wrapper around Handler.

Enums§

LookupOutcome
What a read-only name lookup found (identity M2) — see Handler::lookup_by_name.
UnregisterOutcome
What a by-name unregister did (identity M2, spec §4.4.4 Q7). A name held by several live blocks is refused, never silently no-op’d as success.

Functions§

get_global_handler
Get or initialize the global reactive handler.

Type Aliases§

NeedsReviewHook
See ReactiveHandler::add_needs_review_hook.