machty / ember-concurrency

ember-concurrency is an Ember Addon that enables you to write concise, worry-free, cancelable, restartable, asynchronous tasks.
http://ember-concurrency.com
MIT License
689 stars 157 forks source link

Expose TaskInstance state inside encapsulated tasks #434

Closed maxfierke closed 3 years ago

maxfierke commented 3 years ago

While TaskInstance state was exposed externally via proxying, the proxy was not used internally making TaskInstance state impossible to access. Fixes an issue reported in Discord.

jkeen commented 3 years ago

What incredible timing, I just stumbled onto this bug while using 2.1.0 and here it is fixed. Thanks!