Skip to main content

Module runtime

Module runtime 

Source
Expand description

BEAM runtime configuration, handles, NIFs, and workflow process support. Sole beamr boundary for aion per D1; other modules use RuntimeHandle.

Re-exports§

pub use config::RuntimeConfig;
pub use config::SignalDeliveryConfig;
pub use handle::Pid;
pub use handle::RuntimeHandle;
pub use handle::RuntimeInput;
pub use nif::Mfa;
pub use nif::NifEntry;
pub use nif::NifRegistration;
pub use outcome::WorkflowProcessOutcome;

Modules§

config
Runtime configuration values passed to beamr. Builder-supplied scheduler configuration for the embedded runtime.
handle
Runtime handle, process identifiers, and spawn input. RuntimeHandle spawn, register, cancel, and shutdown support.
module
Loaded BEAM module representation. Runtime module registration helpers.
monitor
Runtime monitor utilities. Runtime-owned process exit monitoring and cleanup orchestration.
nif
Native-function registration records. NIF registration surface.
nif_context
Workflow NIF execution context. Per-call NIF context resolution and durability replay checks.
outcome
Workflow process exit outcomes. Workflow process outcome conversion at the beamr boundary.
payload
Payload conversion helpers used at the runtime boundary. Runtime-owned conversions between durable payloads and BEAM terms.
workflow
Workflow module and entrypoint execution helpers. Workflow process helpers exposed by RuntimeHandle.

Constants§

PARKED_ACTIVITY_REASON
The parked-dispatch sentinel the server’s graceful drain resolves an in-flight activity waiter with (#207).

Functions§

is_parked_reason
Whether a dispatcher failure reason is the parked-dispatch sentinel class (#207): the parked: prefix, mirroring [is_retryable_reason]’s prefix classification. Checked BEFORE the retry-policy filter — a parked dispatch must never consume retry budget nor be delivered as a failure.