{"name":"@math.gl/tasks","version":"5.0.0-beta.8","license":"MIT","_id":"@math.gl/tasks@5.0.0-beta.8","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":"3dc3a2c2df98a682eca53b6aa9e418a354e0b82d","tarball":"http://registry-npm.ywwl.com/@math.gl/tasks/download/@math.gl/tasks-5.0.0-beta.8.tgz","fileCount":212,"integrity":"sha512-KNy9fVivBk2d0NThFl76UTN8clG+Xt+MxlrPTSs/8nEzU53qlg0l2Xay8OQUFhHmjAh6dn8mDomc3pIiOnmquA==","signatures":[{"sig":"MEUCIHV4M3Ora+w2lxqqUs3RrFS0qO3k1GqtX1Yt8yVcNwxfAiEAmag5KkANRgU/RjsYh4cqXGc6/V39WMULGNKDiskUovM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIFFTpn3fdYQqrIT7CXXAtD64VZfXPWFDYB4KUXDipDy0AiBLL+80NNH/6A11GOXN3ELcxfkt65JvYwhnGE/7GTnbjQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@math.gl%2ftasks@5.0.0-beta.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":878727,"size":194873,"noattachment":false,"key":"/@math.gl/tasks/-/@math.gl/tasks-5.0.0-beta.8.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":"9fa9ea96be8c49acbf16f31d0072f1d5357dddb0","_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-beta.8_1794486678805_0.7030105925401443","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":1794486678933,"_cnpm_publish_time":1794486678933,"dist-tags":{"beta":"5.0.0-rc.2","latest":"5.0.4"}}