{"name":"@math.gl/tasks","version":"0.0.0-stage","_id":"@math.gl/tasks@0.0.0-stage","stub":true,"maintainers":[{"name":"ibgreen","email":"ib@unfolded.ai"}],"dist":{"shasum":"8e8732e54332e616c6f4549b4eb38468406c9941","tarball":"http://registry-npm.ywwl.com/@math.gl/tasks/download/@math.gl/tasks-0.0.0-stage.tgz","fileCount":2,"integrity":"sha512-QazOVQNI9bxQ1l9HRbUr0S0eUTnIZrMgL5Bp4K468ZNpImg+GvyMCeSS3/lUAvB/JUq1SQvnflNBqGSyBSB0RQ==","signatures":[{"sig":"MEUCIBGb/l26a961G7L2Rw4OI8ugacyPb2kNQK3bFeevLGRSAiEAjRJ/rgf0lEcFAxvdUM1/V1XO/en+Sbxo52tfaBXS7LI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":336,"size":366,"noattachment":false,"key":"/@math.gl/tasks/-/@math.gl/tasks-0.0.0-stage.tgz"},"_npmUser":{"name":"ibgreen","email":"ib@unfolded.ai"},"description":"Temporary package placeholder for staged publishing","directories":{},"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":1794149731595,"_cnpm_publish_time":1794149731595,"dist-tags":{"beta":"5.0.0-rc.2","latest":"5.0.4"}}