DEV Community

TCZ
TCZ

Posted on

generator+promise

I saw a generator+promise pattern that intends to make asynchronous code as easy to understand as synchronous code.

However, with async+await, we don't need the generator+promise pattern anymore. And it seems to me that async+await is the neater way to make asynchronous code as easy to read as synchronous code.

Top comments (0)