machty / ember-concurrency-decorators

Task decorators for ember-concurrency 1.x (merged into ember-concurrency 2.0)
MIT License
70 stars 25 forks source link

Create draft docs update #51

Closed donaldwasserman closed 5 years ago

donaldwasserman commented 5 years ago

Per our conversation on #49, I made an effort to update the docs. I hope this adds a little more clarification.

As a side note, I actually couldn't get this syntax working my javascript app, but that app isn't a heavy user of e-c tasks.

  @task // imported from `ember-concurrency-decorators`
  myTask = function*() {}