switchyard
    Preparing search index...

    Interface Interpreter

    interface Interpreter {
        configuration: string[];
        status: Status;
        can(event: EventObject, to?: string): boolean;
        inspect(listener: (event: InspectionEvent) => void): () => void;
        matches(path: string): boolean;
        restore(snapshot: Snapshot): this;
        send(event: EventObject): this;
        sendTo(id: string, event: EventObject): boolean;
        snapshot(): Required<Snapshot>;
        start(): this;
        stop(): this;
        subscribe(listener: (interpreter: Interpreter) => void): () => void;
    }
    Index
    configuration: string[]

    Active state paths in document order.

    status: Status
    • Replaces the configuration with snapshot's, running no entry or exit actions. Running actors and timers stop; the restored states' timers and invokes start. Starts an idle machine.

      Parameters

      Returns this