Creates an IWorkerHost backed by the web-standard Worker API (Deno and Bun).
IWorkerHost
Worker
Injected web globals (defaults to the real globalThis)
globalThis
Per-runtime differences; see WebWorkerHostOptions.exitEventName
WebWorkerHostOptions.exitEventName
A worker host; its spawn throws when the runtime has no Worker constructor
spawn
0.1.0
Creates an
IWorkerHostbacked by the web-standardWorkerAPI (Deno and Bun).