Ember helper for wrapping a function in an ember-concurrency
task.
This addon is to help migrate from using an async Ember Action to Ember Concurrency tasks.
Rather than having to re-write your JS code to take advantage of the derived state that Ember Concurrency provides, you can pass an action through this helper to receive a task that wraps it.
A "task type" (drop
, keepLatest
) can be provided as a named parameter to the helper. maxConcurrency
can also be configured in a similar way.
yarn add ember-concurrency ember-concurrency-wrap-in-task
- Ember.js v3.20 or above
See the Contributing guide for details.
This project is licensed under the MIT License.