Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MonacoWebWorker<T>

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

Type parameters

  • T

Hierarchy

  • MonacoWebWorker

Index

Methods

dispose

  • dispose(): void
  • Terminate the web worker, thus invalidating the returned proxy.

    Returns void

getProxy

  • getProxy(): Promise<T>
  • Get a proxy to the arbitrary loaded code.

    Returns Promise<T>

withSyncedResources

  • withSyncedResources(resources: Uri[]): 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>

Generated using TypeDoc