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

getting "run to completion" error with@restartableTask #11

Closed BryanCrotaz closed 6 years ago

BryanCrotaz commented 6 years ago
@restartableTask
*_debounce(this:MyClass) {
  yield timeout(250);
  this._doWork();
}

This gives an assertion error every time after the first time Assertion Failed: The task generator function has already run to completion. This is probably an ember-concurrency bug.

BryanCrotaz commented 6 years ago

Moved to ember-concurrency #244