Create an WxEnd bound to the global WorkerGlobalScope.
remarks
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.
Create an
WxEndbound to the globalWorkerGlobalScope.