Creates an IWorkerHost backed by node:worker_threads.
IWorkerHost
node:worker_threads
file: specifiers are passed to the Worker constructor as URL instances (Node rejects file: URLs given as strings); other specifiers pass through as paths.
file:
Worker
URL
Injected Node modules (defaults to real node: built-ins)
node:
A worker host
0.1.0
Creates an
IWorkerHostbacked bynode:worker_threads.file:specifiers are passed to theWorkerconstructor asURLinstances (Node rejectsfile:URLs given as strings); other specifiers pass through as paths.