{"id":16875947,"url":"https://github.com/evelynhathaway/async-iterator-channel","last_synced_at":"2026-05-01T18:31:37.319Z","repository":{"id":96452261,"uuid":"160126559","full_name":"evelynhathaway/async-iterator-channel","owner":"evelynhathaway","description":"⚠️📢 An observable-like experiment I made to learn async iterators","archived":false,"fork":false,"pushed_at":"2021-05-19T01:21:05.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T18:23:13.071Z","etag":null,"topics":["asynciterable","asynciterator","do-not-use","es2018","experiment"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/evelynhathaway.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-12-03T03:21:04.000Z","updated_at":"2023-03-04T04:13:34.000Z","dependencies_parsed_at":"2023-03-23T23:31:50.895Z","dependency_job_id":null,"html_url":"https://github.com/evelynhathaway/async-iterator-channel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/evelynhathaway/async-iterator-channel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evelynhathaway%2Fasync-iterator-channel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evelynhathaway%2Fasync-iterator-channel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evelynhathaway%2Fasync-iterator-channel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evelynhathaway%2Fasync-iterator-channel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evelynhathaway","download_url":"https://codeload.github.com/evelynhathaway/async-iterator-channel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evelynhathaway%2Fasync-iterator-channel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32508900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["asynciterable","asynciterator","do-not-use","es2018","experiment"],"created_at":"2024-10-13T15:37:39.657Z","updated_at":"2026-05-01T18:31:37.312Z","avatar_url":"https://github.com/evelynhathaway.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Async Iterator Channel\n\n![status: experimental](https://badgen.net/badge/status/experimental/yellow)\n[![license](https://badgen.net/badge/license/MIT/blue)](/LICENSE)\n\nAn experiment I made to learn async iterators added in Node.js `v10.0.0`. It allows an implementer to create a channel consumers can subscribe to (like observables or events) and use `for await` syntax instead of callbacks.\n\nGiven that there are existing mature APIs and libraries that fit this use case, don't use this in your codebase. Instead, take a look at:\n\n- [ES observables](https://github.com/tc39/proposal-observable)\n- [RxJS observables](https://rxjs-dev.firebaseapp.com)\n- [Node.js streams](https://nodejs.org/api/stream.html) which got [stable async interators](https://nodejs.org/api/stream.html#stream_readable_symbol_asynciterator) in Node.js `v11.14.0`\n- [Node.js EventEmmiters](https://nodejs.org/api/events.html)\n- Or just use callbacks 😜\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevelynhathaway%2Fasync-iterator-channel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevelynhathaway%2Fasync-iterator-channel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevelynhathaway%2Fasync-iterator-channel/lists"}