Emits values while predicate returns true, stopping and closing upstream on the first false result.
Predicates run sequentially and may be asynchronous. Synchronous type guard predicates narrow the output stream type. The first non-matching value is consumed by the test and is not emitted.
Emits values while
predicatereturnstrue, stopping and closing upstream on the firstfalseresult.Predicates run sequentially and may be asynchronous. Synchronous type guard predicates narrow the output stream type. The first non-matching value is consumed by the test and is not emitted.