OptionalargsOptionalblobOptionaldirectoryOptionalimportsOptionalmethodsOptionalpoolConcurrent 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
OptionalworkerWorker runner file. When running in the browser, this is the js file named
worker.openhps-core.min.js
Worker external imports