3 ms·
For the JS developers: similar useful behavior (and more!) can be implemented in JS using the wonderful Effection library. https://effection-www.deno.dev/ http
by sandblast 10mo ago
For the JS developers: similar useful behavior (and more!) can be implemented in JS using the wonderful Effection library.
https://effection-www.deno.dev/ https://effection-www.deno.dev/
- WilcoKruijer 10mo agoI like the idea of using generators everywhere, since you have more control over how things execute. At the same time, your codes gets "infected" with unexpected types. In reality, this is very similar to async/await and promises, but those are used broadly in the ecosystem.