Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/xstate/src/types.ts>ActorRef

State machines and statecharts for the modern web.
Go to Latest
interface ActorRef
import { type ActorRef } from "https://deno.land/x/xstate@xstate%405.0.0-beta.13/src/types.ts";

Type Parameters

TEvent extends EventObject
optional
TSnapshot = any

Properties

id: string

The unique identifier for this actor relative to its parent.

sessionId: string
send: (event: TEvent) => void
optional
start: () => void
getSnapshot: () => TSnapshot | undefined
optional
getPersistedState: () => any
stop: () => void
optional
toJSON: () => any
optional
_parent: ActorRef<any, any>
optional
system: ActorSystem<any>
status: ActorStatus
optional
src: string