You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say that you have a function which returns a future, and sometimes you want to call it directly, other times you want to chain it with some subsequent flat_map.
Currently, with_flat_map does not unwrap incoming futures to the map function. Should it?
Without this feature, for this scenario it's necessary to insert some extra with_flat_map just to unwrap futures produced by an earlier step, e.g.
Let's say that you have a function which returns a future, and sometimes you want to call it directly, other times you want to chain it with some subsequent flat_map.
Currently, with_flat_map does not unwrap incoming futures to the map function. Should it?
Without this feature, for this scenario it's necessary to insert some extra with_flat_map just to unwrap futures produced by an earlier step, e.g.
The text was updated successfully, but these errors were encountered: