@tinyactors/scxmljs
    Preparing search index...

    Interface DataModelOptions

    What a session hands a data model when it creates one (see DataModelFactory).

    interface DataModelOptions {
        In: (stateId: string) => boolean;
        ioprocessors: Record<string, { location: string }>;
        memoryLimitBytes?: number;
        name: string;
        sessionId: string;
        timeoutMs?: number;
    }
    Index

    Properties

    In: (stateId: string) => boolean

    Implements the In(stateId) predicate against the session's configuration.

    ioprocessors: Record<string, { location: string }>

    The value of _ioprocessors: each processor's type URI (and aliases) with its location.

    memoryLimitBytes?: number

    Maximum memory of one session's engine, in bytes. Sandboxed engine only (default 64 MiB).

    name: string

    The value of _name (the <scxml name> attribute).

    sessionId: string

    The value of the read-only _sessionid system variable.

    timeoutMs?: number

    Maximum run time of a single evaluation before it is interrupted (ms). Sandboxed engine only.