{"id":18983459,"url":"https://github.com/petrgrishin/each-async","last_synced_at":"2025-07-01T12:04:52.795Z","repository":{"id":70739815,"uuid":"230092558","full_name":"petrgrishin/each-async","owner":"petrgrishin","description":"PoC: Async generators/iterators in parallel","archived":false,"fork":false,"pushed_at":"2019-12-27T13:38:26.000Z","size":47,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-21T09:35:25.418Z","etag":null,"topics":["asynciterator","each","generator","iterator","parallel"],"latest_commit_sha":null,"homepage":"https://github.com/petrgrishin/each-async","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/petrgrishin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2019-12-25T11:23:36.000Z","updated_at":"2019-12-29T18:07:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"916ca57f-a6ee-4613-bfc8-dfb9f1aa50a3","html_url":"https://github.com/petrgrishin/each-async","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/petrgrishin/each-async","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petrgrishin%2Feach-async","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petrgrishin%2Feach-async/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petrgrishin%2Feach-async/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petrgrishin%2Feach-async/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/petrgrishin","download_url":"https://codeload.github.com/petrgrishin/each-async/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petrgrishin%2Feach-async/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262959559,"owners_count":23391057,"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":["asynciterator","each","generator","iterator","parallel"],"created_at":"2024-11-08T16:17:08.236Z","updated_at":"2025-07-01T12:04:52.785Z","avatar_url":"https://github.com/petrgrishin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"each-async\n=========\nAsync generators/iterators in parallel\n\n```javascript\n// \u003e= nodejs v10.17\n\nconst fileStream = fs.createReadStream('./file.txt');\nconst rl = readline.createInterface({\n    input: fileStream,\n    crlfDelay: Infinity,\n});\n\nawait eachAsync(\n    rl,\n    async value =\u003e {\n        console.log(value);\n    },\n    { \n      parallel: 2, \n    },\n);\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetrgrishin%2Feach-async","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetrgrishin%2Feach-async","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetrgrishin%2Feach-async/lists"}