News for hackers. Stuff that matters.
Re:Diminishing returns of static typing by fineline on Monday October 02, 2017 @10:22PM (#15389645)
Promises (representing the result of a single asynchronous operation) and Observables (representing an ongoing stream of emitted values) aren't really equivalent. I know you can create an Observable from a Promise, which will emit a single value when that promise is fulfilled and then be marked as completed or closed - but this is more for integration - such as being able to combine inputs from single-shot async calls into broader observable operations. If your Promises are discrete async calls, I'm curious why you would want to convert them?

There are no comments on this comment yet.