@ariestools/actor
The Actor base class — the extracted XL1 ActorV3 pattern, merged with the
dapp-core AbstractActor improvements — plus supervision helpers. Compiles
neutral (browser + node + any JS runtime).
Actor — create/start/stop lifecycle (AbstractCreatable), non-overlapping
interval timers with firstRun: 'immediate' | 'deferred' phasing, readiness
warm pass (readyHandler / runReadyHandler / whenReady), abort signal per
start cycle, memoized shutdown() rollback, and no-op-safe OpenTelemetry
instrument helpers (counter / gauge / histogram / upDownCounter /
span / spanAsync)
Orchestrator — parallel/dynamic actor supervision (from xyo-chain), with a
structural readiness guard instead of an instanceof gate
bootActors — sequential create → start → warm-pass boot with rollback
stopOrShutdown — stop with shutdown() fallback
createMemoryLocator — Map-backed InstanceLocator for tests, browser boot,
and locator-less consumers
createDeferred — rejection-sink-attached deferred
Actor structurally satisfies @ariestools/cli-kit's ManagedActor contract;
a type-level conformance spec (cli-kit as devDependency) locks that in.