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
- Exactly Agha’s effect triple, with a Bombay interpretation-order policy.
- At
- AtGeneration
- AtId
- Base
- Births
- This behavior may emit births of
C. - Child
Stopped - Create
- Fresh actor creation. Replacement at an existing address is deliberately absent; stable restart is derived with a proxy actor.
- 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.
- 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
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
- Time
Reached - 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.
- 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.
- 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 - Watch
Event
Traits§
- Address
- A pure actor-address namespace.
- Behavior
- A composed pure behavior.
Eventis the complete accepted protocol; successful transitions always return the same Agha effect algebra. - Birth
Mode - A type-level description of the creation leg of the actor algebra.
- Child
Event - Peer
Event - Send
Algebra - The monoid required to accumulate sends across transitions.
- Shutdown
Event - Construction of the shutdown lane through a composed event type.
- State
- Time
Event - User
Event - Construction/extraction of the user lane through a composed event type.
- Worker
Event - Construction of the worker-report lane through a composed event type.
Functions§
- restart_
all - restart_
one - restart_
rest - run
- Drive user-lane messages through a complete behavior protocol.
- stop_
on_ abnormal_ death - Stop when the monitor reports an abnormal outcome.
Type Aliases§
- Acted
- AtReaction
- Become
- Link
Reaction - Shutdown
Reaction - A final shutdown fold. Its sends and fresh creations are retained, while
its become verdict is replaced with
Stop(Normal).