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
This function is similar to StreamExt::take_while but exits early if an error occurs.
The actual behavior is that errors are passed through. It seems like the wording should be changed to match, e.g. try_filter. try_skip_while has the same problem.
Alternatively, perhaps all TryStreamExt combinators which return a TryStream should actually not yield more than one error (this is possible, e.g. if selecting between two TryStreams).
The text was updated successfully, but these errors were encountered:
The documentation of
try_take_while
states:The actual behavior is that errors are passed through. It seems like the wording should be changed to match, e.g.
try_filter
.try_skip_while
has the same problem.Alternatively, perhaps all
TryStreamExt
combinators which return aTryStream
should actually not yield more than one error (this is possible, e.g. if selecting between twoTryStream
s).The text was updated successfully, but these errors were encountered: