ember-concurrency is an Ember Addon that enables you to write concise, worry-free, cancelable, restartable, asynchronous tasks.
MIT License
Bot releases are hidden (Show)
Published by machty over 6 years ago
.evented()
task modifier and task lifecycle events
Thanks to @maxfierke for implementing this feature.
Published by machty over 6 years ago
all
and race
)Published by machty over 6 years ago
===
Published by machty over 6 years ago
Published by machty over 6 years ago
Published by machty almost 7 years ago
Published by machty over 7 years ago
this.taskName.perform()
Published by machty over 7 years ago
.debug()
Task Modifier and EmberENV.DEBUG_TASKS to logPublished by machty over 7 years ago
Published by machty over 7 years ago
Published by machty over 7 years ago
perform()
ing a task wouldn't actuallyactions
queueisSuccessful
and isError
property (#119)performCount
that tracksPublished by machty about 8 years ago
You can now replace all instances of
this.get('myTask').perform();
with
this.myTask.perform();
Published by machty about 8 years ago
Published by machty over 8 years ago
Published by machty over 8 years ago
includePolyfill:true
inregenerator-runtime
is nowincludePolyfill:true
. Babel's polyfill is 98kb minified,Published by machty over 8 years ago
Published by machty over 8 years ago
someTask.perform().then(...).catch(...)
), then any promisecatch
handlers will be called with TaskCancelation "errors",didCancel
utility function,err && err.name === 'TaskCancelation'
; now you can justimport { didCancel } from 'ember-concurrency'
anddidCancel(err)
.