Interface XStateActorRef<TEvent, TEmitted>

Actor reference.

Type Parameters

Hierarchy

Properties

[observable]: (() => XStateInteropSubscribable<TEmitted>)

Type declaration

getSnapshot: (() => TEmitted)

Type declaration

    • (): TEmitted
    • Returns TEmitted

id: string
send: XStateSender<TEvent>
stop?: (() => void)

Type declaration

    • (): void
    • Returns void

toJSON?: (() => any)

Type declaration

    • (): any
    • Returns any

Methods

Generated using TypeDoc