-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
coop: expose an unconstrained() opt-out
This adds an opt-out for code that might not be compatible with Tokio coop (e.g. heavily nested `FuturesUnordered`). Notes to reviewer: - I made the coop module public for this. - I removed a few docs in said coop module that reference methods that don't exist yet. For more context, t ssee the discussion in: #3516
- Loading branch information
Showing
3 changed files
with
73 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -372,7 +372,7 @@ cfg_rt! { | |
pub mod runtime; | ||
} | ||
|
||
pub(crate) mod coop; | ||
pub mod coop; | ||
|
||
cfg_signal! { | ||
pub mod signal; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters