ember-concurrency

ember-concurrency is an Ember Addon that enables you to write concise, worry-free, cancelable, restartable, asynchronous tasks.

MIT License

Downloads
447.6K
Stars
688
Committers
76

Bot releases are visible (Hide)

ember-concurrency -

Published by machty over 8 years ago

0.6.2

  • bugfix: errors thrown from child tasks don't "rethrow" when
    caught by parent task
ember-concurrency - e-c within another addon fix

Published by machty over 8 years ago

0.6.1

  • Fixed bug when using ember-concurrency in an addon that is consumed
    by another app. #46
ember-concurrency - Task Groups, Derived State, and .observes()

Published by machty over 8 years ago

Changelog

0.6.0

  • feature: Task Groups: http://ember-concurrency.com/#/docs/task-groups.
    Task Groups let you enforce concurrency constraints across multiple
    tasks, which previously wasn't possible.
  • feature: Moar Derived State: http://ember-concurrency.com/#/docs/derived-state
    Task Instances now expose .value and .error properties for the
    value returned from the task function, or the error thrown from it.
    Furthermore: Task objects expose last and lastSuccessful, which
    point to recently performed TaskInstances, which then make it
    possible to idiomatically access .value and .error, e.g.
    {{myTask.last.value}} or {{myTask.last.error}}. This is
    a continuation of ember-concurrency's goal of exposing as
    much Derived State as possible, and minimizing boilerplate.
  • feature: .observes() Task Modifier: appending .observes('foo', 'bar')
    to a task will automatically perform the task when 'foo' or 'bar'
    changes. Thanks to @ofbriggs for co-authoring this feature.
  • bugfix: once an object is destroyed, any attempts to perform
    a task on that object will be immediately canceled.
Package Rankings
Top 1.25% on Npmjs.org
Top 9.55% on Proxy.golang.org
Badges
Extracted from project README
Build Status NPM Ember Observer Score