Create connection using the WorkerGlobalScope, which connects to the thread that created this worker using wxWorker.
WorkerGlobalScope
This will fail if called when globalThis is not a WorkerGlobalScope.
globalThis
Optional
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 aWorkerGlobalScope
.