Up to size Web Workers (default: every logical core but one), started on
demand and reused. createWorker replaces how one is started — for a
bundler that needs the worker URL its own way, or a test.
Runs the tasks of one call under one deadline; resolves, in the order
given, when all have answered. The heaviest weight is dispatched first,
so the longest task does not start last.
Up to
sizeWeb Workers (default: every logical core but one), started on demand and reused.createWorkerreplaces how one is started — for a bundler that needs the worker URL its own way, or a test.