Create a new pool of workers. Workers will only be initialized on the first CSG operation, or after calling and waiting for initialize.
The wanted amount of workers. Note that this is a target, not a requirement. If all but one worker fails to be created, no error will be thrown.
The path to the Gypsum<->Manifold worker script. Points to "gypsum-manifold.worker.min.js" by default.
The path to the Manifold WASM bindings library. Points to "manifold.js" by default.
Private
disposedPrivate
initPrivate
jobsPrivate
manifoldPrivate
nextPrivate
wantedPrivate
workerPrivate
workersDispatch a tree of CSG operations to the best worker; first worker with the least amount of running jobs.
A tree of CSG operations to send to the worker.
Private
getPrivate
initializePrivate
initializePrivate
terminateGenerated using TypeDoc
A pool of workers to use for CSG operation with Manifold.