Optional argsOptional blobOptional directoryOptional importsOptional methodsOptional poolConcurrent tasks send to the same worker in the pool
Optional poolPool size, defaults to 4 but should equal the amount of available cores - 1
Optional servicesServices to clone from main thread. When not specified it will clone all services
model.findAllServices()
Optional timeoutTimeout spawning
Optional typeWorker type
Optional workerWorker runner file. When running in the browser, this is the js file named
worker.openhps-core.min.js
Worker external imports