Const
Create an WxEnd bound to the global WorkerGlobalScope.
WxEnd
WorkerGlobalScope
Calling this when globalThis is not a WorkerGlobalScope will result in an error. Calling this function multiple times will return the same promise - even if previous call returned an error.
globalThis
Create an
WxEndbound to the globalWorkerGlobalScope.Calling this when
globalThisis not aWorkerGlobalScopewill result in an error. Calling this function multiple times will return the same promise - even if previous call returned an error.