/** * Threads the stream through the transformation function `f`. * * @tsplus pipeable-operator effect/core/stream/Stream >> * @tsplus static effect/core/stream/Stream via * @tsplus pipeable effect/core/stream/Stream via */ export function via( f: (a: Stream) => Stream ) { return (self: Stream): Stream => Stream.suspend(f(self)) }