- Simplified the async arrow fn task() API to allow omitting the
this
param, e.g.
myTask = task(async () => {})
(#477) - The codemods mentioned in the 2.3.0 release have been updated to prefer this simplified syntax:
- Convert
@task
decorator based APIs to the new async-arrow fn- npx machty-ember-concurrency-codemods async-arrow-task **/.ts **/.js
- If you've used
ember-concurrency-ts
, run the following codemod to removetaskFor()
- npx machty-ember-concurrency-codemods rm-ember-concurrency-ts **/.ts **/.js
- Convert