Lots of FPR libraries use Observables as their central async/concurrency primitive, so it'd be nice if ember-concurrency could integrate with these libraries.
Before delving into how this might be possible, here's a quick compare/contrast between e-c Tasks and Observables:
- Modeling Streams
- both e-c tasks and observables can async streams of zero or more values followed by an optional success/error termination
- observables emit values using
onNext(),onCompleted(), andonError()
- observables emit values using
- both e-c tasks and observables can async streams of zero or more values followed by an optional success/error termination
- tasks emit values using
emit(), and returning a value from a generator fn is an implicitemit(), and throwing an error is an implicitonError