DEV Community

Discussion on: Canceling promises with Generators in ES6 Javascript

Collapse
 
getify profile image
Kyle Simpson

Perhaps take a look at my CAF library: github.com/getify/CAF

It's a more general way of canceling an "async" function part of the way through, using a generator.

Collapse
 
tuanphungcz profile image
Tuan Phung ⚡️

Thanks Kyle, Ill check it out and welcome to dev.to 😄