- From: Felix Becker <notifications@github.com>
- Date: Mon, 09 Nov 2015 12:07:41 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Monday, 9 November 2015 20:08:08 UTC
Imo promises is an abstraction to make async code look sync by providing it with return/throw/try/catch semantics. But if the abstraction doesn't fit the use case, than something else than promises should be used, like observables. Ben Lesh gave a great talk about observables at ng-europe last month and why promises just don't work for ajax requests and why Angular 2 went with Observables for their http module https://www.youtube.com/watch?v=KOOT7BArVHQ --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/27#issuecomment-155176408
Received on Monday, 9 November 2015 20:08:08 UTC