3 ms·
It sounds like the author wants coroutines, not promises.
by fwip 9y ago
It sounds like the author wants coroutines, not promises.
- yuchi 9y agoExactly. I’ve been using redux-saga a lot recently and they really fill the gap between the concept of a long running Task and asynchronous values/executions (Promises).
- rmrfrmrf 9y agoI just got there myself after thinking async/await would be all I needed. There's still a lot that can be done with generators, so I don't see them falling out of favor completely yet.