{"name":"@math.gl/tasks","version":"5.0.0-rc.2","license":"MIT","_id":"@math.gl/tasks@5.0.0-rc.2","maintainers":[{"name":"ibgreen","email":"ib@unfolded.ai"},{"name":"pessimistress","email":"cxiaoji@gmail.com"}],"homepage":"https://github.com/visgl/math.gl#readme","bugs":{"url":"https://github.com/visgl/math.gl/issues"},"dist":{"shasum":"068156ee879969c63921914ce7c673781c77c11a","tarball":"http://registry-npm.ywwl.com/@math.gl/tasks/download/@math.gl/tasks-5.0.0-rc.2.tgz","fileCount":212,"integrity":"sha512-tJ4Xw8Y9Gd9HHyo9F+0xbSq1Ids0hvmgmxv40oAVf1HvKWC8pX7xwwjadkLerWkMN+JiaK81ULDpWeGD6ItUUw==","signatures":[{"sig":"MEUCIQCmJg8uZ8IO9FoaCJ9kci+Y9TMGwLG9cVfQuUyW6v3iKwIgesC8UWf8LWYTBAQnHiGBi8HWVcmGlflDmFmon+XERDY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIDe/0my65m7V2q43uGpGLXtz2Fx0SGdd/8XUvjGs91olAiEA5l9mkB6lOyiaQVpiHR4OOjmdfBCTdI/3cLAILFfPpG0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@math.gl%2ftasks@5.0.0-rc.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":878695,"size":194883,"noattachment":false,"key":"/@math.gl/tasks/-/@math.gl/tasks-5.0.0-rc.2.tgz"},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":{"fs":false,"path":false,"module":false,"child_process":false,"./src/worker-utils/lib/node/worker_threads.ts":"./src/worker-utils/lib/node/worker_threads-browser.ts","./dist/worker-utils/lib/node/worker_threads.js":"./dist/worker-utils/lib/node/worker_threads-browser.js","./src/worker-utils/lib/process-utils/child-process-proxy.ts":"./src/worker-utils/lib/process-utils/child-process-proxy.browser.ts","./dist/worker-utils/lib/process-utils/child-process-proxy.js":"./dist/worker-utils/lib/process-utils/child-process-proxy.browser.js"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"65650de8c0635ef201393635b08f988d7da44430","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"9fdb3200-9a4a-4710-bc08-566f2315c955"}},"repository":{"url":"git+https://github.com/visgl/math.gl.git","type":"git"},"_npmVersion":"lerna/10.1.2/node@v24.22.1+x64 (linux)","description":"Typed task scheduling and worker execution","directories":{},"sideEffects":false,"_nodeVersion":"24.22.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/tasks_5.0.0-rc.2_1795200465988_0.5908465407128437","host":"s3://npm-registry-packages-npm-production"},"readme":"# @math.gl/tasks\n\nTyped task scheduling and worker execution for browsers and Node.js.\n\n```sh\nnpm install @math.gl/tasks\n```\n\n```typescript\nimport {TaskRunner} from '@math.gl/tasks';\n\nconst runner = new TaskRunner();\ntry {\n  const result = await runner.runTask({id: 'double', process: ({value}: {value: number}) => ({value: value * 2})}, {value: 3});\n} finally {\n  await runner.close();\n}\n```\n\nThe public package root provides `TaskRunner`, task preloading, typed operation dispatch,\nand custom worker initialization. Worker transport internals are private. The package\nhas no runtime dependencies and does not require math.gl core, Arrow, or geospatial.\n\n- [Getting started](https://math.gl/docs/modules/tasks)\n- [API reference](https://math.gl/docs/modules/tasks/api-reference/task-runner)\n- [Task runner example](../../examples/tasks/task-runner/README.md)\n- Domain tasks remain in `@math.gl/geospatial/tasks` and depend on this scheduler.\n","publish_time":1795200466110,"_cnpm_publish_time":1795200466110,"dist-tags":{"beta":"5.0.0-rc.2","latest":"5.0.4"}}