Optional argsOptional blobOptional directoryOptional importsOptional methodsOptional nameUser friendly name of the node Used for querying a node by its name.
Optional optimizedPull requests skip the worker
Optional 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 uidManually set the unique identifier of the node
Optional workerWorker runner file. When running in the browser, this is the js file named
worker.openhps-core.min.js
Worker external imports