Expand description
A language-neutral kernel for orbs, managed objects and versioned operations.
The kernel stores opaque value and callback identities. The adapter that issued an identity owns its value, performs validation, and executes user code outside kernel borrows.
Structs§
- Acquisition
- Address
- Stable identity. Tuple boundaries are preserved; keys are not delimiter-joined.
- Completion
- Context
Contract - Context
Key - Diagnostics
- Disposal
- Wait for one retained instance’s physical disposal or host shutdown. Dropping the future unregisters the waiter without affecting cleanup.
- Error
- An operation failure. External effects performed by an adapter are not rolled back.
- Host
- Installed
Orb - Invocation
- An admitted physical invocation. Finishing its observer does not finish this invocation.
- Migration
- Opaque
Context Value - Retain an owner-issued lease until its frame and physical consumers settle.
- Orb
- Prepared
State - A private candidate tied to the exact invocation, object, revision and issuing host.
- Reload
- Replacement
- Requirement
- Resource
- Scope
- Service
- Snapshot
- Immutable metadata. Values remain owned by their language adapter.
Enums§
- Action
- Actions are executed by the adapter after a kernel operation completes.
- Code
- Machine-readable failure categories shared by language adapters.
- Context
Kind - Context
Value - Effect
- These are execution requests, not policy hooks. Every platform runs the same program.
- Lifetime
- Owner
- Reason
- Built-in failure reasons. Orbs may still supply their own reason strings at an adapter seam.
- Status
- Step
Constants§
- HOST_
PRINCIPAL - The principal the host creates host-lifetime objects for itself as, when it installs the Orb.
- MAX_ID
- Largest generated identity, shared by every adapter without JSON precision loss.
- RESERVED_
MEMBERS - The members every reference to a service object has, which the kernel refuses as method names when it installs an Orb, in the lowerCamelCase spelling of the official JavaScript bindings.
Traits§
Functions§
- admits_
linger - Whether the kernel admits a service’s objects of
lifetimelingeringlinger_msonce unreferenced: a host-lifetime object lives until the host closes, and never lingers. - admits_
principal - Whether the kernel admits an object of
lifetimeacquired byprincipal: a host-lifetime object belongs to the host,HOST_PRINCIPAL. - reserved_
member - Whether a service method’s name is a member every reference has, one of
RESERVED_MEMBERS, which the kernel refuses when it installs an Orb. - valid_
version - Whether the kernel admits the version of a state or of a resource’s contract: versions start at 1.