Skip to main content

Module lifecycle

Module lifecycle 

Source
Expand description

Lifecycle observation, application-root, terminal-result, and graceful-shutdown behaviors.

Structs§

ChildShutdownPhases
Inferred builder for statically complete child shutdown phases.
ChildTermination
Select one exact generation from the emitting actor’s child namespace.
EstablishedTerminationTarget
Exact-incarnation termination observation policy and its one current value.
FinalizeOnShutdown
Run one explicit final fold and then stop normally.
HeterogeneousShutdownCoordinator
Pure phased shutdown over an arbitrary closed child-protocol sum.
HeterogeneousShutdownPlan
Validated shutdown phases over an arbitrary closed child-protocol sum.
HeterogeneousShutdownSends
Ordered heterogeneous shutdown requests. Static dispatch occurs per item, preserving phase declaration order across protocol alternatives.
InstallShutdownPlan
Install one validated plan into a coordinator that was started without it.
LogicalTerminationTarget
Address-selected legacy termination observation.
NoShutdownTargets
Uninhabited end of a heterogeneous shutdown choice.
PeerTermination
Select one exact incarnation at an established peer address.
PropagateTermination
Propagate a selected actor’s exact terminal report through this actor’s terminal boundary.
ReportShutdownPlan
Interpreter request reporting one validated plan to its owning coordinator.
ShutdownCoordinator
Pure phased shutdown wrapper over an explicitly validated homogeneous child topology.
ShutdownPlan
Validated ordered shutdown phases.
ShutdownTree
Dependency topology compiled into ordered shutdown phases.
StopOnShutdown
Stop normally when the shutdown lane is received.
Task
One-result terminal behavior template.
TerminalPropagationSends
Named effects owned by PropagateTermination.
TerminationMonitorWith
Observe one peer and apply its terminal report to complete behavior actions.
Watch
Observe a logical peer name across any number of later incarnations.

Enums§

ChildCreationExpectation
Creation state expected by the shutdown-plan composition when one authoritative creation fact arrives.
ChildShutdownPlanError
Failure while turning committed child creations into shutdown phases.
ShutdownChoice
One member of a closed heterogeneous child-protocol sum.
ShutdownCoordinatorError
Controlled coordinated-shutdown failure.
ShutdownCoordinatorEvent
Event sum accepted by ShutdownCoordinator.
ShutdownPlanError
Invalid static shutdown topology.
ShutdownState
Complete phase of coordinated shutdown, including plan installation.
ShutdownTreeError
Invalid dependency-ordered shutdown topology.
TaskError
Rejected terminal transition when a test or nonconforming interpreter invokes a task after its stopping action.
TaskMessage
Commands accepted by a Task.
TaskResult
Terminal fact emitted by a Task.
TaskState
Complete semantic state of a Task.
TerminalDisposition
Explicit disposition of an accepted authoritative terminal report.
TerminalPropagationState
Complete phase of one terminal-propagation definition.
TerminationMonitorError
Exact rejection from the observation wrapper.
TerminationObservation
Complete consumption phase of one exact terminal observation.
TerminationPropagationError
Exact rejection from terminal propagation.

Traits§

BeginShutdownPhases
Generic consumer operation for entering the one inferred shutdown-phase builder.
DeclareShutdownPhase
Generic consumer operation for appending one statically valid shutdown phase.
FinishShutdownPhases
Generic consumer operation for finishing a complete shutdown declaration.
ShutdownTargetAt
Structural construction of an existing ShutdownChoice at Position.
TerminationObservationTarget
Static observation and reaction policy for TerminationMonitorWith.
TerminationTarget
A statically selected source of one authoritative terminal report.

Functions§

propagate_abnormal
Propagate crashes and abnormal exits while deliberately discharging normal and collected termination.
propagate_all
Propagate every terminal outcome.
shutdown_after_children
Start declaring shutdown phases for every direct child role of application.
shutdown_target
Lower one Behavior-owned named child ID into an existing heterogeneous shutdown target sum.
stop_on_abnormal_death
Stop when a logical watch reports an abnormal outcome.

Type Aliases§

EstablishedTerminationMonitor
Exact-incarnation action-producing termination monitor.
EstablishedTerminationReaction
Action-producing reaction to the matching exact terminal report.
LinkReaction
Infallible reaction to one matching logical peer stop.
ShutdownEvent
Internal event sum of a behavior that supports graceful shutdown.
ShutdownReaction
A final shutdown fold. Its sends and fresh creations are retained, while its become verdict is replaced with Stop(Normal).
TerminalPropagationPolicy
Pure policy deciding whether one exact terminal outcome crosses this composition’s terminal boundary.
TerminationMonitor
Address-selected action-producing termination monitor.
TerminationReaction
Pure reaction applied to the exact matching terminal report.
WatchEvent
Complete event sum accepted by a logical peer watch.