-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
A-tokioArea: The main tokio crateArea: The main tokio crateC-feature-requestCategory: A feature request.Category: A feature request.M-macrosModule: macros in the main Tokio crateModule: macros in the main Tokio crate
Description
Since #2152 introduced the select! macro, is it possible to provide a select_biased! macro as well, similar to the futures-rs one?
It's useful in cases where the polling order does matter, such as when you need to guarantee dropping a future at the next yield point.
jakajancar, htrefil, hlzhang, Kobzol, rish-onesignal and 3 more
Metadata
Metadata
Assignees
Labels
A-tokioArea: The main tokio crateArea: The main tokio crateC-feature-requestCategory: A feature request.Category: A feature request.M-macrosModule: macros in the main Tokio crateModule: macros in the main Tokio crate