mwg API
    Preparing search index...

    Interface ScriptHost

    interface ScriptHost {
        call(
            name: string,
            args?: readonly ScriptValue[],
            context?: Readonly<Record<string, ScriptValue>>,
            emit?: ScriptEmit,
        ): ScriptValue;
        dispose(): void;
        evaluate(
            source: string,
            context?: Readonly<Record<string, ScriptValue>>,
        ): ScriptValue;
        execute(
            source: string,
            context?: Readonly<Record<string, ScriptValue>>,
            emit?: ScriptEmit,
        ): void;
    }
    Index