x4js - v2.2.49
    Preparing search index...

    A web worker that can provide a proxy to an arbitrary file.

    interface MonacoWebWorker<T> {
        dispose(): void;
        getProxy(): Promise<T>;
        withSyncedResources(resources: Uri[]): Promise<T>;
    }

    Type Parameters

    • T
    Index
    • Synchronize (send) the models at resources to the web worker, making them available in the monaco.worker.getMirrorModels().

      Parameters

      • resources: Uri[]

      Returns Promise<T>