```diff const pool = new Tinypool({ - filename: new URL('./worker.mjs', import.meta.url).href, + filename: new URL('./worker.mjs', import.meta.url), }) ``` 1. Convenient to use 1. Align with [`Worker` constructor](https://nodejs.org/api/worker_threads.html#new-workerfilename-options)
const pool = new Tinypool({ - filename: new URL('./worker.mjs', import.meta.url).href, + filename: new URL('./worker.mjs', import.meta.url), })Workerconstructor