Open
Description
A wrapper type for streams that functions almost like take_while but also returns the first value that matches the condition would be nice to have.
My use-case is returning a (grpc) stream that should terminate as soon as one error occurs. However, it is very inconvenient to also return the specific error reason to indicate the stream has not completed normally, but with an error.