TOC Toolkit API - v0.1.0
    Preparing search index...

    Interface EngineHost

    A trust boundary that resolves every call to a complete encoded report or a failure.

    interface EngineHost {
        call(
            method: EngineMethod,
            request: unknown,
            options: CallOptions,
        ): Promise<Result<JsonValue, EngineFailure>>;
        dispose(): void;
    }

    Implemented by

    Index
    • Returns void