// ets_tracing: off import * as CK from "../../../Collections/Immutable/Chunk/index.js" import * as CollectAllWhileWith from "./collectAllWhileWith.js" import type * as C from "./core.js" export function repeat( self: C.Sink ): C.Sink> { return CollectAllWhileWith.collectAllWhileWith_( self, CK.empty(), (_) => true, (s, z) => CK.append_(s, z) ) }