{"id":16870375,"url":"https://github.com/tommoor/promise-pool","last_synced_at":"2025-04-11T10:37:34.247Z","repository":{"id":41785773,"uuid":"129641730","full_name":"tommoor/promise-pool","owner":"tommoor","description":"A flexible pool of promises that can be awaited and executed at a chosen level of concurrency","archived":false,"fork":false,"pushed_at":"2022-12-07T10:50:49.000Z","size":514,"stargazers_count":12,"open_issues_count":7,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-04T14:05:26.643Z","etag":null,"topics":["hacktoberfest","javascript","promise"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/tommoor.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}},"created_at":"2018-04-15T19:07:14.000Z","updated_at":"2024-12-18T11:55:38.000Z","dependencies_parsed_at":"2023-01-23T16:45:33.088Z","dependency_job_id":null,"html_url":"https://github.com/tommoor/promise-pool","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tommoor%2Fpromise-pool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tommoor%2Fpromise-pool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tommoor%2Fpromise-pool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tommoor%2Fpromise-pool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tommoor","download_url":"https://codeload.github.com/tommoor/promise-pool/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248376035,"owners_count":21093626,"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":["hacktoberfest","javascript","promise"],"created_at":"2024-10-13T15:04:06.972Z","updated_at":"2025-04-11T10:37:34.213Z","avatar_url":"https://github.com/tommoor.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://badge.fury.io/js/async-promise-pool.svg)](https://badge.fury.io/js/async-promise-pool) [![CircleCI](https://circleci.com/gh/tommoor/promise-pool.svg?style=svg)](https://circleci.com/gh/tommoor/promise-pool) \n\n# Promise Pool\n\nPromise pool is a small, dependency free, library to manage the\nconcurrent resolution of any number of promises. It is particularly useful\nwhen the promises are not all available upfront.\n\n## Example Usage\n```javascript\nconst PromisePool = require(\"async-promise-pool\");\n\n// concurrency is the only option for PromisePool and enables you to \n// choose how many promises will run at once\nconst pool = new PromisePool({ concurrency: 3 });\n\n// elsewhere add functions to the pool that produce promises. We use\n// functions here to prevent the promises from immediately executing.\npool.add(() =\u003e thingThatReturnsAPromise());\n\n// you can await pool.all to ensure that all promises in the pool are \n// resolved before continuing.\nawait pool.all();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftommoor%2Fpromise-pool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftommoor%2Fpromise-pool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftommoor%2Fpromise-pool/lists"}