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 155 forks source link

Add runtime assertion that async fn transpiled #476

Closed machty closed 1 year ago

machty commented 1 year ago

Closes #471

maxfierke commented 1 year ago

@machty you may want to extract and use this workaround for earlier Ember versions without setDebugFunction and getDebugFunction: https://github.com/machty/ember-concurrency/blob/5b765c29c1b5d79822f38ac3eb80b65b22cfa9c3/tests/acceptance/helpers-test.js#L11-L25

machty commented 1 year ago

@maxfierke thank you!