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
691 stars 157 forks source link

v2: Add shim to maintain decorator compatiblity with TaskProperty prototype extensions as options #395

Closed maxfierke closed 3 years ago

maxfierke commented 3 years ago

In lieu of a better public API for this, add some code to provide fallback to TaskProperty prototype extensions for unknown decorator options.

This ensures ember-concurrency-test-waiters, ember-concurrency-retryable, etc. are still usable with the built-in decorators.