{"_id":"@math.gl/tasks@5.0.4","bugs":{"url":"https://github.com/visgl/math.gl/issues"},"dist":{"shasum":"78def85ff52789fa68e2538eadabc86afab4b03b","tarball":"http://registry-npm.ywwl.com/@math.gl/tasks/download/@math.gl/tasks-5.0.4.tgz","fileCount":212,"integrity":"sha512-mpek1vOsPpjqaSQ9S/R2eI2rhBAzBb7o2T/HQU7VFlldsGsgnyioqyZCt7v7trHBhfMf7ntiBsjkRvmZbyVOhg==","signatures":[{"sig":"MEYCIQCaOnDrY80K5tJ1mDHwOSUp75TG2uCt+er+fSyzjuEm9QIhANCY2pTdffGLg2YH2Fln7/TvUsaBSrVDx93dfbsOdDTk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCaSnu1ei5hGqAW8d7OyeBPamXj4Nr0t5BU2m31DWsRYAIgSaaQNpahrQ+LBTRVi0VFkVaxwF0OAs7vQlmG30/bn5s="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@math.gl%2ftasks@5.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":878690,"size":194875,"noattachment":false,"key":"/@math.gl/tasks/-/@math.gl/tasks-5.0.4.tgz"},"main":"dist/index.cjs","name":"@math.gl/tasks","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":"dc1d4cbe5b008497d9b94affa7918d2d8e99b6d5","license":"MIT","version":"5.0.4","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"9fdb3200-9a4a-4710-bc08-566f2315c955"}},"homepage":"https://github.com/visgl/math.gl#readme","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":{},"maintainers":[{"name":"ibgreen","email":"ib@unfolded.ai"},{"name":"pessimistress","email":"cxiaoji@gmail.com"}],"sideEffects":false,"_nodeVersion":"24.22.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tasks_5.0.4_1795661459739_0.4586335903563544"},"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":1795661459860,"_cnpm_publish_time":1795661459860,"dist-tags":{"beta":"5.0.0-rc.2","latest":"5.0.4"}}