The syntax for `tokio::select!` is just different enough from all other block notation syntax that I hesitate to use it. Like, just the syntax makes me pause. Not that it's bad, just that it's a different structure than the language around it. It's as though you have to remember to speak backwards, but only in one part of the sentence, and only in some kinds of paragraphs. #rustlang
Conversation
Notices
-
Embed this notice
esmevane, sorry (ironchamber@mastodon.esmevane.com)'s status on Monday, 06-May-2024 22:25:25 JST esmevane, sorry -
Embed this notice
esmevane, sorry (ironchamber@mastodon.esmevane.com)'s status on Monday, 06-May-2024 22:44:33 JST esmevane, sorry @davy Haha! You know what, I honestly feel like I'm gonna do that. It's 3 things so it's not THAT bad to just do it manually. Thanks!
-
Embed this notice
Davy :ferris: (davy@hachyderm.io)'s status on Monday, 06-May-2024 22:44:34 JST Davy :ferris: @ironchamber you can also use https://docs.rs/futures/latest/futures/future/fn.select.html to avoid the macro :)
-
Embed this notice