Expand description
Macros§
- workers
workers![(4, WorkerA, build_a), (2, WorkerB, build_b)]→ a block declaring theCrewsum and yielding(total, crew_build)forSupervising’s fleet. Slots are contiguous per variant (slot = nonce; rest-for-one’s birth order is the declaration order).
Structs§
- Actions
- Bombay’s typed realization of the actor transition effects: communications, fresh actor creation, and next behavior or termination.
- At
- Base
- Births
- This behavior may emit births of
C. - Child
Stopped - Create
- A staged request to establish a fresh child at a creator-local nonce.
- Delivery
- One statically typed send operation.
- Finalize
OnShutdown - Run one explicit final fold and then stop normally.
- FnState
- Fsm
- Mail
Addr - NoBirths
- This behavior cannot emit child births.
- Observe
Child - Observe
Peer - Peer
Stopped - Proxy
- The stable actor. Every replacement is an ordinary fresh birth beneath it.
- Receive
Timeout - A pure one-notification-per-idle-period receive timeout.
- Recipient
- A recipient statically coupled to the message it accepts.
- 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.
- Spec
- Stashing
- Stop
OnShutdown - Stop normally when the shutdown lane is received.
- Supervising
- Supervision
Failure - A typed failure of the supervisor’s child-topology contract.
- Timer
Elapsed - Timer
Generation - TimerId
- Transcript
- User
- The user-message event at the Agha floor.
- Watching
- Worker
Stopped - A worker termination reported by a still-live supervised proxy.
Enums§
- AtEvent
- Crash
- Why actor execution terminated abnormally.
- Creation
Kind - Behavior-owned provenance for a staged fresh actor creation request.
- 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. - 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. - Proxy
Command - Commands accepted by a stable proxy.
- Receive
Timeout Error - A controlled receive-timeout failure.
- Receive
Timeout Event - 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.
- 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 - Peer
Event - Send
Algebra - The operation required to accumulate sends across transitions.
- Shutdown
Event - State
- Time
Event - User
Event - Construction/extraction of the user lane through a composed event type.
- Worker
Event
Functions§
- 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
- AtActions
- AtReaction
- AtSends
- Become
- Behavior
Acted - The only successful effect shape admitted by a
Behaviorimplementation. - Link
Reaction - Receive
Timeout Actions - Receive
Timeout Reaction - Receive
Timeout Sends - 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.