4 ms·
Lol continuations will blow your mind. "Returning" to somewhere else than you came? Humbug!
by tus88 7y ago
Lol continuations will blow your mind. "Returning" to somewhere else than you came? Humbug!
- rakoo 7y agoUnless I'm mistaken you can already do that with go's channels
- tus88 7y agoHint: I don't mean returning data ;-)
- rakoo 7y agoAnd you don't need to return data with channels, even though you typically do. They are primarily a tool for controlling flow with concurrent goroutines. Do you have an example of what you have in mind so we can see more clearly what it is about?
- anonymoushn 7y agobyuu's comment in this comment tree gives a good example.