Improved concurrency primitives for Ember.js. Documentation can be found here.
ember-concurrency
is an ember-cli addon. You can install it via:
ember install ember-concurrency
ember-concurrency
also requires that the Regenerator runtime be
included in your app. The easiest way to ensure this is to enable
the babel.includePolyfill
option in your ember-cli-build.js
or Brocfile.js
files.
var app = new EmberAddon(defaults, {
babel: {
includePolyfill: true,
},
});
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).
git clone
this repositorynpm install
bower install
ember server
- Visit your app at http://localhost:4200.
npm test
(Runsember try:testall
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.