{"id":17736665,"url":"https://github.com/parro-it/ai-asfullfills","last_synced_at":"2025-03-31T19:17:13.385Z","repository":{"id":57174761,"uuid":"111472766","full_name":"parro-it/ai-asfullfills","owner":"parro-it","description":"Return an aync iterable that emit a series promises as they fullfills","archived":false,"fork":false,"pushed_at":"2017-11-29T18:43:31.000Z","size":155,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-02T13:36:15.460Z","etag":null,"topics":[],"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/parro-it.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}},"created_at":"2017-11-20T23:08:51.000Z","updated_at":"2017-11-20T23:09:54.000Z","dependencies_parsed_at":"2022-08-29T00:11:03.954Z","dependency_job_id":null,"html_url":"https://github.com/parro-it/ai-asfullfills","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Fai-asfullfills","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Fai-asfullfills/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Fai-asfullfills/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Fai-asfullfills/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parro-it","download_url":"https://codeload.github.com/parro-it/ai-asfullfills/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246523847,"owners_count":20791444,"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":"2024-10-26T00:23:58.081Z","updated_at":"2025-03-31T19:17:13.362Z","avatar_url":"https://github.com/parro-it.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ai-asfullfills\n\n[![Travis Build Status](https://img.shields.io/travis/parro-it/ai-asfullfills/master.svg)](http://travis-ci.org/parro-it/ai-asfullfills)\n[![NPM downloads](https://img.shields.io/npm/dt/ai-asfullfills.svg)](https://npmjs.org/package/ai-asfullfills)\n\n\u003e Return an aync iterable that emit a series promises as they fullfills\n\nThis module could be a useful substitute for `Promise.all` to use when you need\nto parallelized the resolution of a set of promises and you need to receive the\nresolve promises as soon as possible (in resolution order).\n\n\u003e **_This module is part of\n\u003e [Async iterable fun](https://github.com/parro-it/ai-fun), a complete toolset\n\u003e of modules to work with async iterables._**\n\n## Usage\n\ndescription of the example\n\n```js\nimport asFullfills from 'ai-asfullfills';\nimport concat from 'ai-concat';\n\nconst emit = n =\u003e new Promise(resolve =\u003e\n  setTimeout(() =\u003e Promise.resolve(n), n * 100\n);\n\nconsole.log (\n  await concat.obj(asFullfills([emit(1), emit(3), emit(2)]))\n);\n```\n\nThis will output\n\n```\n1\n2\n3\n```\n\n## API\n\n## Install\n\nWith [npm](https://npmjs.org/) installed, run\n\n```bash\nnpm install --save ai-asfullfills\n```\n\n## See Also\n\n* [`parro-it/ai-fun`](https://github.com/parro-it/ai-fun) - A collection of\n  modules to easy deal with async iterables.\n\n* [`noffle/common-readme`](https://github.com/noffle/common-readme) - « a common\n  readme for node ».\n\n## License\n\nMIT Licensed © 2017 Andrea Parodi\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparro-it%2Fai-asfullfills","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparro-it%2Fai-asfullfills","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparro-it%2Fai-asfullfills/lists"}