/** * Repeatedly runs the provided sink. * * @tsplus getter effect/core/stream/Sink repeat */ export function repeat( self: Sink ): Sink> { return self.collectAllWhileWith(Chunk.empty(), () => true, (s, z) => s.append(z)) }