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: Update docs to use native classes, decorators, Octane features, etc. #387

Closed maxfierke closed 3 years ago

maxfierke commented 3 years ago

Refactors the docs to use native classes, decorators, and other Octane features. It's not a full Octane/Glimmer Component-ification because there's certain things that aren't polyfillable back to Ember 3.8 LTS, but it gets close.

Notably, the tutorial pages (Writing Code Without Tasks, Post-Mortem, Refactoring With Tasks) have had their examples refactor to show re-writing of async/await code to Tasks instead of Promise code (async/await not being as widespread when these examples were written in 2016/2017.)

esbanarango commented 3 years ago

This is great!! 🔝