OptionalargsOptionalblobOptionaldirectoryOptionalimportsOptionalmethodsOptionalnameUser friendly name of the node Used for querying a node by its name.
OptionaloptimizedPull requests skip the worker
OptionalpoolConcurrent tasks send to the same worker in the pool
OptionalpoolPool size, defaults to 4 but should equal the amount of available cores - 1
OptionalservicesServices to clone from main thread. When not specified it will clone all services
OptionaltimeoutTimeout spawning
OptionaltypeWorker type
OptionaluidManually set the unique identifier of the node
OptionalworkerWorker runner file. When running in the browser, this is the js file named
worker.openhps-core.min.js
Worker external imports