Releases: machty/ember-concurrency
Releases · machty/ember-concurrency
0.6.2
e-c within another addon fix
0.6.1
- Fixed bug when using ember-concurrency in an addon that is consumed
by another app. #46
Task Groups, Derived State, and .observes()
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 exposelast
andlastSuccessful
, 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.