2 ms·
You can do a generator returning promises. It's actually preferred over async/await in the frontend world in libraries such as redux-saga and mobx flow. One ad
by zawerf 8y ago
You can do a generator returning promises.
It's actually preferred over async/await in the frontend world in libraries such as redux-saga and mobx flow. One advantage is that you can cancel the iteration early.