{"id":26921169,"url":"https://github.com/olyop/concurrent-processor","last_synced_at":"2025-04-01T22:53:45.401Z","repository":{"id":231835676,"uuid":"782757129","full_name":"olyop/concurrent-processor","owner":"olyop","description":"A simple utility that concurrently processes an array of arbitary values by offloading the execution to a web worker","archived":false,"fork":false,"pushed_at":"2024-04-08T05:29:07.000Z","size":9,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T04:41:31.238Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/olyop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-04-06T00:42:28.000Z","updated_at":"2024-07-22T17:20:58.000Z","dependencies_parsed_at":"2024-04-06T07:26:10.990Z","dependency_job_id":"17af7c1b-1b9c-49d3-94d6-45ac713e2832","html_url":"https://github.com/olyop/concurrent-processor","commit_stats":null,"previous_names":["olyop/concurrent-processor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olyop%2Fconcurrent-processor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olyop%2Fconcurrent-processor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olyop%2Fconcurrent-processor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olyop%2Fconcurrent-processor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olyop","download_url":"https://codeload.github.com/olyop/concurrent-processor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246724793,"owners_count":20823544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-01T22:53:44.961Z","updated_at":"2025-04-01T22:53:45.388Z","avatar_url":"https://github.com/olyop.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Concurrent Processor\n\nA simple utility that concurrently processes an array of arbitrary values by offloading the execution to a web worker.\n\n## Installation\n\n```bash\nnpm install concurrent-processor\n```\n\n## Usage\n\n```javascript\nimport { concurrentProcessor } from \"concurrent-processor\";\n\nawait concurrentProcessor({\n\tworkerURL,     // URL to the worker script\n\tvalues,        // Array of values to process\n\tonRead,        // Callback function when a value is read to be passed to the worker\n\tonProcess,     // Callback function when a value has been processed\n\tsignal,        // Abort signal\n\tworkerOptions, // Options to pass to new Worker(url, options)\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folyop%2Fconcurrent-processor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folyop%2Fconcurrent-processor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folyop%2Fconcurrent-processor/lists"}