New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@ariestools/actor

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ariestools/actor

Environment-agnostic Actor base class with lifecycle, timers, readiness, and optional telemetry

Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
1.6K
398.15%
Maintainers
3
Weekly downloads
 
Created
Source

@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.

Keywords

ariestools

FAQs

Package last updated on 24 Jul 2026

Related posts