Add Future::flatten #404
Labels
api design
Open design questions
enhancement
New feature or request
good first issue
Good for newcomers
Similar to future-rs's
Future::flatten
method, this can sometimes come in useful.However the only difference with it should be that we take
IntoFuture
as the trait bound, and call it under the hood. BecauseIntoFuture
is implemented forFuture
this should work as expected.Thanks!
Examples
The text was updated successfully, but these errors were encountered: