A web worker that can provide a proxy to an arbitrary file.
Terminate the web worker, thus invalidating the returned proxy.
Get a proxy to the arbitrary loaded code.
Synchronize (send) the models at resources to the web worker, making them available in the monaco.worker.getMirrorModels().
resources
A web worker that can provide a proxy to an arbitrary file.