Function wxWorkerGlobal

Source
wxWorkerGlobal(options?: WxWorkerCreateOptions): WxBusCreator

Create connection using the WorkerGlobalScope, which connects to the thread that created this worker using wxWorker.

This will fail if called when globalThis is not a WorkerGlobalScope.