Expand description
Runtime state management utilities.
This module provides utilities for managing shared state across processes in the runtime system.
Structs§
- Dataspace
Registry - A dataspace registry for async coordination between processes.
- Resource
Lease - An exclusive lease on a resource.
- Resource
Registry - A registry for scarce, externally backed resources.
- Resource
RegistryAPI Handler - An API handler for reporting the state of all registered resources.
- Resource
Registry State - State used for the resource registry API handler.
- Resource
Registry Worker - A worker that exposes the resource registry over the control plane.
- Resource
Status - Reported state of a single resource.
- Subscription
- A subscription to updates for a specific type/identifier combination.
Enums§
- Acquire
Error - An error that occurred while acquiring a resource.
- Dataspace
Update - An update received by a subscription, indicating that a value was asserted, retracted, or sent as a transient message.
- Identifier
- An identifier used to key values in a
DataspaceRegistry. - Identifier
Filter - A filter used to match identifiers when subscribing to a
DataspaceRegistry. - Resource
Kind - The kind of an external resource.
Traits§
- Resource
Specification - A specification naming one resource, and the blueprint for creating it.