Expand description
Minimal shared contracts for Clamp applications.
Structs§
- Application
Id - A stable identifier for an application architecture blueprint.
- Capability
Id - A stable identifier for a capability contract.
- Clock
Capability - Marker type that identifies the
Clockcapability to the Kernel. - Contribution
Id - A stable identifier for a composition-time contribution kind.
- Contribution
Target Id - A stable identifier for a domain-specific contribution target.
- Execution
Id - A stable identifier for a process execution root.
- Lifecycle
Context - Identity available to a lifecycle participant without exposing a runtime.
- Manual
Clock - A clock that only moves when told to: for tests and simulations.
- Module
Id - A stable identifier for a declared application module.
- Parse
Reference Error - The text is not a hyphenated UUID of version 7. Non-exhaustive, so a reason can be added without a breaking change.
- Process
Id - A stable identifier for one runnable application projection.
- Qualifier
Id - A stable identifier for a qualifier that distinguishes capability instances.
- Reference
- A UUIDv7 that names one request, command or action, so its log lines can be found again.
- System
Clock - The operating system’s wall clock (
SystemTime::now).
Traits§
- Capability
- Associates a capability marker with its value type and stable identity.
- Clock
- A source of wall-clock time required by application behavior.
- Contribution
- Describes a composition-time declaration consumed by a domain target.
- Contribution
Target - A domain-owned compiler from declarations to a runtime representation.
- Drain
- Opts a module into graceful shutdown before it is stopped.
- Initialize
- Opts a module into resource preparation before its process starts.
- Module
- Identifies a module that can participate in additive architecture contracts.
- Provides
- Declares and exposes one capability provided by a module.
- Qualifier
- Gives a typed qualifier a stable semantic identity.
- Ready
- Opts a module into the readiness check after activation.
- Requires
- Declares that a module requires one capability.
- Start
- Opts a module into activation after initialization succeeds.
- Stop
- Opts a module into teardown after draining.