/**
* Creates a pipeline that drops elements until the specified predicate
* evaluates to true.
*
* @tsplus static effect/core/stream/Stream.Aspects dropUntil
* @tsplus pipeable effect/core/stream/Stream dropUntil
*/
export function dropUntil(f: Predicate) {
return (self: Stream): Stream =>
self.dropWhile((a) => !f(a)).via(Stream.$.drop(1))
}