Decides which engine calls a local engine answers, instead of the engine server. The engine client asks it about every call; an application implements it.

interface LocalEngineRouter {
    answer(
        route: string,
        request: LocalEngineRequest,
    ): Promise<undefined | LocalEngineResponse>;
    isLocalRoute(route: string): boolean;
}

Methods