loading...

States and Fates in JS Promises

codeprototype profile image Kevin Le ・1 min read

https://github.com/domenic/promises-unwrapping/blob/master/docs/states-and-fates.md

Written by the author who I believe is an expert on the subject of JS Promises, I have no doubt this is totally correct. But, with respect to the recursive nature of states and fates, if you can complement the explanation with diagrams, circles, squares, arrows, etc or explain in a different way, will you do so here.

Discussion

pic
Editor guide
Collapse
justsml profile image
Daniel Levy

I agree, visual promise resources are sorely lacking currently.

I've been working on adding visual & animated resources to explain Promises, check danlevy.net/visualizing-promises/

Let me know if you like this direction!

Collapse
codeprototype profile image
Kevin Le Author

That's excellent