The initThreadPool method initializes a thread pool of Workers to enable multi-threading, which significantly improves performance.
initThreadPool
Returns a Promise that resolves when the thread pool has been successfully initialized.
await initThreadPool();
Last updated 1 year ago