Interface MonacoWebWorker<T>

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

Type Parameters

  • T

Hierarchy

  • MonacoWebWorker

Methods

  • Terminate the web worker, thus invalidating the returned proxy.

    Returns void

  • Get a proxy to the arbitrary loaded code.

    Returns Promise<T>

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

    Parameters

    • resources: Uri[]

    Returns Promise<T>