{"id":13805661,"url":"https://github.com/machty/ember-concurrency","last_synced_at":"2025-04-29T14:38:51.875Z","repository":{"id":3356090,"uuid":"49186867","full_name":"machty/ember-concurrency","owner":"machty","description":"ember-concurrency is an Ember Addon that enables you to write concise, worry-free, cancelable, restartable, asynchronous tasks.","archived":false,"fork":false,"pushed_at":"2025-04-16T17:16:30.000Z","size":60806,"stargazers_count":690,"open_issues_count":85,"forks_count":158,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-04-27T18:38:54.821Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://ember-concurrency.com","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/machty.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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},"funding":{"github":"machty"}},"created_at":"2016-01-07T06:47:46.000Z","updated_at":"2025-04-23T22:34:35.000Z","dependencies_parsed_at":"2023-02-19T13:40:27.500Z","dependency_job_id":"bb35a6a6-5a17-4189-9283-0ea693b7c08b","html_url":"https://github.com/machty/ember-concurrency","commit_stats":{"total_commits":1079,"total_committers":86,"mean_commits":"12.546511627906977","dds":0.4114921223354958,"last_synced_commit":"652a90523b223438ff3829831e21a6cc556d2d5a"},"previous_names":["machty/ember-processes"],"tags_count":152,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machty%2Fember-concurrency","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machty%2Fember-concurrency/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machty%2Fember-concurrency/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/machty%2Fember-concurrency/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/machty","download_url":"https://codeload.github.com/machty/ember-concurrency/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251284324,"owners_count":21564612,"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-08-04T01:01:03.547Z","updated_at":"2025-04-29T14:38:51.830Z","avatar_url":"https://github.com/machty.png","language":"JavaScript","funding_links":["https://github.com/sponsors/machty"],"categories":["Packages","Libraries","Addons / Support"],"sub_categories":["Control flow","Utilities","Awesome Addons"],"readme":"# ember-concurrency\n\n[![Build Status][build-status-img]][build-status-link]\n[![NPM][npm-badge-img]][npm-badge-link]\n[![Ember Observer Score][ember-observer-badge]][ember-observer-url]\n![Ember Version][ember-version]\n\nImproved concurrency primitives for Ember.js. Documentation can be\nfound [here](http://ember-concurrency.com).\n\n## Installation\n\n`ember-concurrency` is an ember-cli addon. You can install it via:\n\n    ember install ember-concurrency\n\n### Configure Babel Transform\n\nEmber Concurrency requires the use of a Babel Transform to convert tasks in the \"async-arrow\" notation (e.g. `fooTask = task(async () =\u003e { /*...*/ }`) into generator functions. Since Ember Concurrency 4.0.0+ is an Embroider V2 Addon, this Babel transform needs to be configured on the consuming application or addon.\n\n```js\n// in app ember-cli-build.js\n\nconst app = new EmberApp(defaults, {\n  // ...\n  babel: {\n    plugins: [\n      // ... any other plugins\n      require.resolve(\"ember-concurrency/async-arrow-task-transform\"),\n\n      // NOTE: put any code coverage plugins last, after the transform.\n    ],\n  }\n});\n\n// in V1 addon index.js\n\n// ...\noptions: {\n  babel: {\n    plugins: [\n      require.resolve('ember-concurrency/async-arrow-task-transform'),\n    ],\n  },\n},\n\n// in V2 addon babel.config.json\n{\n  \"plugins\": [\n    [\n      // ... any other plugins\n    \"ember-concurrency/async-arrow-task-transform\"\n  ]\n}\n```\n\nSee the [test application](https://github.com/machty/ember-concurrency/blob/master/packages/test-app/ember-cli-build.js) for an example.\n\n## Documentation\n\nThe [ember-concurrency documentation site](http://ember-concurrency.com) is an ember-cli app\nwith interactive examples powered by ember-concurrency. It runs from\nember-concurrency's [test app](https://github.com/machty/ember-concurrency/tree/master/packages/test-app/app).\n\n## Problems?\n\n- [Open an Issue](https://github.com/machty/ember-concurrency/issues).\n  - Try to replicate the issue within an [ember-twiddle][twiddle-starter]\n- Ask a question in the `#e-concurrency` channel at the [Ember Community Discord server](https://discord.gg/zT3asNS)\n\n## Contributing\n\nSee the [Contributing](CONTRIBUTING.md) guide for details.\n\n[build-status-img]: https://github.com/machty/ember-concurrency/workflows/CI/badge.svg\n[build-status-link]: https://github.com/machty/ember-concurrency\n[npm-badge-img]: https://badge.fury.io/js/ember-concurrency.svg\n[npm-badge-link]: http://badge.fury.io/js/ember-concurrency\n[ember-observer-badge]: http://emberobserver.com/badges/ember-concurrency.svg\n[ember-observer-url]: http://emberobserver.com/addons/ember-concurrency\n[ember-version]: https://img.shields.io/badge/Ember-3.8+-brightgreen.svg\n[twiddle-starter]: https://ember-twiddle.com/b2b0c016f4df24261381487b60c707f3?numColumns=2\u0026openFiles=templates.application.hbs%2Ctemplates.application.hbs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmachty%2Fember-concurrency","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmachty%2Fember-concurrency","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmachty%2Fember-concurrency/lists"}