Skip to main content
Module

x/xstate/src/system.ts>ActorSystem

Actor-based state management & orchestration for complex app logic.
Go to Latest
interface ActorSystem
import { type ActorSystem } from "https://deno.land/x/xstate@xstate%405.9.1/src/system.ts";

Properties

_bookId: () => string
_register: (sessionId: string, actorRef: AnyActorRef) => string
_unregister: (actorRef: AnyActorRef) => void
_set: <K extends keyof T["actors"]>(key: K, actorRef: T["actors"][K]) => void
get: <K extends keyof T["actors"]>(key: K) => T["actors"][K] | undefined
inspect: (observer: Observer<InspectionEvent>) => void
_sendInspectionEvent: (event: HomomorphicOmit<InspectionEvent, "rootId">) => void
_relay: (
source: AnyActorRef | undefined,
target: AnyActorRef,
) => void
scheduler: Scheduler
getSnapshot: () => { _scheduledEvents: Record<string, ScheduledEvent>; }
_snapshot: { _scheduledEvents: Record<ScheduledEventId, ScheduledEvent>; }
start: () => void