import { parallel } from "https://deno.land/x/ayonli_jsext@v0.9.72/index.ts";
const { workerEntry } = parallel;
In browsers, by default, the program loads the worker entry directly from
GitHub, which could be slow due to poor internet connection, we can copy
the entry file bundle/worker.mjs
to a local path of our website and set
this option to that path so that it can be loaded locally.
Or, if the code is bundled, the program won't be able to automatically
locate the entry file in the file system, in such case, we can also copy
the entry file (bundle/worker.mjs
for Bun, Deno and the browser,
bundle/worker-node.mjs
for Node.js) to a local directory and supply
this option instead.