CAF
CAF copied to clipboard
Cancelable Async Flows (CAF)
Thank you (again!) for this great project. It's a lifesaver if you need to timeout Promise-based code. 🙏 I just wanted to document a potential improvement. We have code that...
First of all, thanks for your amazing framework! Unfortunately recently I started to get error "Cannot set property reason of AbortSignal which has only a getter" from this [code line](https://github.com/getify/CAF/blob/80edec8dbcb2b11e901ee9a282d5c37711625432/src/shared.js#L61)...
Add 2 properties to functions that are CAF-wrapped generators: * cafFn.isCAF - true. So the user can detect they're dealing with a function that was produced by CAF. * cafFn.generatorName...
Thank you for this amazing library. I love being able to cancel async activity. * Background: Legacy parts of my codebase use traditional async functions that can't be canceled. Modern...
Hey Kyle 👋 Node recently(ish) shipped AbortController/AbortSignal (I _believe_ I pinged you on one of the issues). I just wanted to ask if there is anything Node.js should be doing...
Hi, is there any plan to have one? 👋
This might seem quite contrary to CAF's design philosophy, which is that all async work should be cancelable. But, *some* async work is dependent on users, like prompting them for...