Skip to main content

Module lifecycle

Module lifecycle 

Source
Expand description

VM lifecycle phases — internal six-state enum.

The internal phase enum is richer than the upstream three-value wire vocabulary so handlers can produce precise fault_messages on misordered requests. The wire form is a separate type owned by squib-api; this enum never crosses the HTTP boundary.

See 11-runtime-core.md § 3.1.

Enums§

LifecyclePhase
Internal lifecycle phase — six values. Never serialized to the wire.
WireVmState
The wire-shape vocabulary served by GET / — exactly the upstream three values.