実際、futures-previewに付属するselect!マクロはそのような実装になっている(詳しくマクロのソースを読んだわけではないので推測だが)し、従来からあるSelect/SelectAllコンビネータは未完了のFutureを返すので使用側でその完了を見守る必要がある
-
-
Show this thread
-
-
そんなわけない(でないとselect! { _ = futures::future::empty() => ... , ... } のとき破綻する)
Show this thread -
select!()がFusedFutureを要求するのは、すでにPoll::Readyを返したFutureを誤ってpollしないためであって、未完了のFutureを処理する必要はまだある
Show this thread
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.