Expand description
Macros§
- workers
workers![(4, WorkerA, build_a), (2, WorkerB, build_b)]→ a block declaring theCrewsum and yielding(total, crew_build)forSupervisor’s fleet. Slots are contiguous per variant (slot = nonce; rest-for-one’s birth order is the declaration order).
Structs§
- Action
Reducer - A left fold over Bombay actions.
- Actions
- Bombay’s typed realization of the actor transition effects: communications, fresh actor creation, and next behavior or termination.
- Births
- This behavior may emit births of
C. - Child
Stopped - Compose
- Create
- A staged request to establish a fresh child at a creator-local nonce.
- Creation
Resolved - The committed result of one staged
crate::Createrequest. - Deadline
- Deadline
Sends - Named effect lanes added by
Deadline. - Delivery
- One statically typed send operation.
- Effects
- The accumulated observable effects of a transition prefix.
- Finalize
OnShutdown - Run one explicit final fold and then stop normally.
- FoldFn
- Folded
- The result of folding initialization and an event stream.
- Inner
- A lane reached through the product’s composed behavior sends.
- Machine
- Mail
Addr - NoBirths
- This behavior cannot emit child births.
- Observe
Child - Ask the local interpreter to observe the exact child generation bound at
nonce. - Observe
Creation - Ask the local interpreter to return the committed result of the same-action
creation at
noncethrough the behavior’sCreationEventlane. - Observe
Peer - Ask the local interpreter to observe the exact peer incarnation selected at
peerwhen this request is interpreted. - Peer
Stopped - Proxy
- A stable actor that serializes fresh worker-incarnation installation.
- Proxy
Sends - The concrete, statically dispatched effect lanes emitted by a
Proxy. - Pure
- Receive
Timeout - A pure one-notification-per-idle-period receive timeout.
- Receive
Timeout Sends - Named effect lanes added by
ReceiveTimeout. - Recipient
- A recipient statically coupled to the message it accepts.
- Report
Worker Creation Resolved - Ask a proxy’s interpreter to report a worker creation result to its parent. The interpreter supplies the emitting proxy’s nonce.
- Report
Worker Stopped - A proxy’s request for its interpreter to report a worker termination to
the proxy’s parent. The interpreter supplies the emitting proxy’s child
nonce when constructing
WorkerStopped. - Schedule
After - Request scheduling relative to the interpreter’s clock.
- Schedule
At - Send
Product - A product of independently typed send protocols.
- Service
Sends - Requests interpreted by the runtime local to the emitting actor.
- Shutdown
Requested - A request to finish through one serialized behavior transition.
- Stash
- Stop
OnShutdown - Stop normally when the shutdown lane is received.
- Supervision
Failure - A typed failure of the supervisor’s child-topology contract.
- Supervisor
- Supervisor
Sends - Named effect lanes emitted by a supervised behavior.
- Timer
Elapsed - Timer
Generation - TimerId
- Transcript
- Unwatch
Peer - Ask the local interpreter to cancel this actor’s observation of
peer. - User
- The user-message event at the Agha floor.
- Watch
- A pure peer-observation transformation.
- Watch
Sends - Named effect lanes added by
Watch. - Worker
Creation Resolved - A worker creation result reported by a still-live supervised proxy.
- Worker
Stopped - A worker termination reported by a still-live supervised proxy.
Enums§
- Crash
- Why actor execution terminated abnormally.
- Creation
Kind - Behavior-owned provenance for a staged fresh actor creation request.
- Creation
Rejection - Why a staged fresh creation was not committed by an interpreter.
- Exit
- How a fold ends. The
Rparameter of the become verdict (Step<Ph, Exit>): aStopcarries one of these; the driver also mintsCollectedwhen the mailbox drains with no self-stop. - Incarnation
Phase - A copyable observation of the lifecycle without owned child specifications.
- Move
- Never
- The uninhabited type with two structural jobs. As a phase menu,
Step<Never>has no constructibleGoto— a plain actor is a one-phase machine. As an outbound/offspring menu, it proves a layer sends or creates nothing. The law is the type, not a convention. - Own
- The lane owned by the current named send product.
- Proxy
Command - Commands accepted by a stable proxy.
- Proxy
Event - Receive
Timeout Error - A controlled receive-timeout failure.
- Restart
Denial - Why an otherwise eligible replacement set was denied.
- Restart
Policy - Route
- An address expression for ordinary actor delivery.
- Shutdown
Protocol - The complete protocol of a behavior that supports graceful shutdown.
- Stash
Route - Step
- The become verdict (Agha 1986): what replaces the current behavior as it processes one event.
- Strategy
- Supervision
Event - Supervision
Failure Reason - Why a supervisor could no longer preserve its child topology.
- Timed
Event - Watch
Event
Traits§
- Address
- A pure actor-address namespace.
- Behavior
- A composed pure behavior.
Eventis the complete accepted protocol; every successful transition returns the declaredActionsvalue. - Birth
Mode - A type-level description of a behavior’s creation capability.
- Child
Event - Creation
Event - Event
Input - A statically proven injection of one semantic input into a concrete event sum.
- Handler
- Peer
Event - Send
Algebra - The operation required to accumulate sends across transitions.
- Send
Input - Static evidence that a send product contains one request lane.
- Shutdown
Event - Time
Event - User
Event - Construction/extraction of the user lane through a composed event type.
- Worker
Creation Event - Worker
Event
Functions§
- fold_
events - Initialize a behavior and left-fold events until exhaustion, controlled failure, or the first stop verdict.
- restart_
all - restart_
one - restart_
rest - retire_
on_ supervision_ failure - Retire the failed slot and keep the supervisor alive.
- run
- Drive user-lane messages through a complete behavior protocol.
- stop_
on_ abnormal_ death - Stop when the monitor reports an abnormal outcome.
- stop_
on_ supervision_ failure - Stop the supervisor with a typed failure outcome.
Type Aliases§
- Acted
- Become
- Behavior
Acted - The only successful effect shape admitted by a
Behaviorimplementation. - Deadline
Actions - Deadline
Event - Deadline
Reaction - Link
Reaction - Proxy
Actions - Receive
Timeout Actions - Receive
Timeout Event - Receive
Timeout Reaction - Shutdown
Reaction - A final shutdown fold. Its sends and fresh creations are retained, while
its become verdict is replaced with
Stop(Normal). - Supervision
Failure Reaction - Pure policy applied when a supervisor cannot preserve its child topology.
- Supervisor
Actions