ember-concurrency is an Ember Addon that enables you to write concise, worry-free, cancelable, restartable, asynchronous tasks.
JavaScript HTML Other
Clone or download
courajs and machty Fix task vs task instance properties (#236)
`isSuccessful` and `isError` are TaskInstance properties, not Task properties. I can confirm this is confusing because I just spent 15 minutes debugging to find out `myTask.isSuccessful` doesn't work...
Latest commit 5c830b1 Jul 20, 2018

README.md

ember-concurrency

Build Status NPM Ember Observer Score Ember Version

Improved concurrency primitives for Ember.js. Documentation can be found here.

Installation

ember-concurrency is an ember-cli addon. You can install it via:

ember install ember-concurrency

If you're using a version of ember-concurrency older than 0.7.5, you'll also need to run:

ember install ember-maybe-import-regenerator

Documentation

The ember-concurrency documentation site is an ember-cli app with interactive examples powered by ember-concurrency. It runs from ember-concurrency's dummy test app (thanks to ef4 for spearheading this approach).

Problems?

Contributing

This project uses yarn as a package manager. If you're adding a new dependency, ensure that the yarn.lock lockfile is updated and committed into your pull request.

Addon Maintenance

Installation

  • git clone this repository
  • yarn install
  • bower install

Running

Running Tests

  • yarn test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Generate Docs

TODO: use build pipeline.

./builddocs.sh