[DiscordArchive] that's like, 15 years later ?
[DiscordArchive] that's like, 15 years later ?
Archived author: jackpoz • Posted: 2024-06-01T12:57:50.363000+00:00
Original source
if your code is just a big enumerator, you are in control of "moving it forward"
Archived author: jackpoz • Posted: 2024-06-01T12:58:13.078000+00:00
Original source
I could have the whole game update logic in iterators and handle pausing the game by simply not iterating them anymore
Archived author: jackpoz • Posted: 2024-06-01T12:58:30.217000+00:00
Original source
and resuming the game would just iterate them again
Archived author: Fabian • Posted: 2024-06-01T12:59:34.871000+00:00
Original source
I like ContinueWith but it always slaps me in the face again and again because it least to even more weird behavior
Archived author: Fabian • Posted: 2024-06-01T13:00:35.925000+00:00
Original source
But I see IAsyncEnumerable in combination with yield being useful for certain scenarios