{"id":24810922,"url":"https://github.com/mishieck/parawait","last_synced_at":"2026-05-04T02:37:41.097Z","repository":{"id":49722945,"uuid":"358579381","full_name":"Mishieck/parawait","owner":"Mishieck","description":"A JavaScript library for concurrency and parallelism.","archived":false,"fork":false,"pushed_at":"2021-06-10T12:43:16.000Z","size":452,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-25T20:03:46.424Z","etag":null,"topics":["async","async-await","await","concurrency","javascript","library","parallel-processing","parallelism","promises"],"latest_commit_sha":null,"homepage":"","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/Mishieck.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":"2021-04-16T11:38:43.000Z","updated_at":"2021-06-10T12:43:19.000Z","dependencies_parsed_at":"2022-09-09T13:52:47.597Z","dependency_job_id":null,"html_url":"https://github.com/Mishieck/parawait","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mishieck%2Fparawait","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mishieck%2Fparawait/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mishieck%2Fparawait/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mishieck%2Fparawait/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mishieck","download_url":"https://codeload.github.com/Mishieck/parawait/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245468547,"owners_count":20620410,"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":["async","async-await","await","concurrency","javascript","library","parallel-processing","parallelism","promises"],"created_at":"2025-01-30T12:18:38.774Z","updated_at":"2026-05-04T02:37:41.037Z","avatar_url":"https://github.com/Mishieck.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parawait\n\n## Introduction\n\nParawait is a JavaScript library for achieving concurrency and parallelism using promises. On single-core processors, the processes are run concurrently. On multi-core processors, the processes are run in parallel.\n\n## Features\n\nJavaScript provides native ways of running multiple processes at once. These include `Promise.all`, `Promise.race`, `Promise.any` and `Promise.allSettled`. The similarity between Parawait and the aforementioned methods is that they all use promises. However, there are a few significant differences between these methods and Parawait in terms of how they differ in terms of how they run the processes. Let us look at the features of Parawait.\n\n### Memory Efficiency\n\nAll of the JavaScript native methods take an array of promises as the parameter. However, Parawait does not use an array of promises. This makes it more memory efficient.\n\n### Synchronous Functions\n\nThe functions you want to run at once do not have to be asynchronous. Parawait wraps all functions in promises on your behalf.\n\n### Error Handling\n\nParawait gives you the choice to choose how errors should be handled. You can choose whether or not the promise should be rejected. You can also choose whether or not the promised should resolve with an output.\n\n### Chunking\n\nRunning so many processes at once uses a lot of memory. This might also stand in the way of other processes. Sometimes, this results into errors as there is a limit to the call stack. Parawait allows you to run processes in chunks.\n\n## Quick Start\n\nRefer to our [Quick Start Guide](./docs/quick-start.md) for a quick introduction to how Parawait works.\n\n## Documentation\n\nRefer to our [Documentation](./docs/home.md) for an in-depth look at Parawait.\n\n## License\n\nThis library is under the [MIT Licence](https://).\n\nCopyright (c) 2021, **Mishieck Mwale**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmishieck%2Fparawait","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmishieck%2Fparawait","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmishieck%2Fparawait/lists"}