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
WxEnd
bound to the globalWorkerGlobalScope
.Calling this when
globalThis
is not aWorkerGlobalScope
will result in an error. Calling this function multiple times will return the same promise - even if previous call returned an error.