// ets_tracing: off import * as CK from "../../../../Collections/Immutable/Chunk/index.js" import * as CH from "../../Channel/index.js" import * as C from "../core.js" /** * Submerges the chunks carried by this stream into the stream's structure, while * still preserving them. */ export function flattenChunks( self: C.Stream> ): C.Stream { return new C.Stream(CH.mapOut_(self.channel, CK.flatten)) }