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
If you return from the code in the stream, then the stream will end. The question mark operator will make you return. Thus, if you use the question mark, the stream will end.
If you use stream! and don't use the question mark, then it should work.
Came across the same problem.
Although the reply of @Darksonn answers the question, but how can I emit an Err value instead of return in try_stream!.
I have to fallback to use stream! with is kind of tedious. I thought try_stream! is meant to solve this.
Greetings!
Why
Err
close stream? I can't use.filter(..)
in that case.The text was updated successfully, but these errors were encountered: