// ets_tracing: off import { identity } from "../../../../Function/index.js" import type * as C from "../core.js" import * as Chain from "./chain.js" /** * Flattens this stream-of-streams into a stream made of the concatenation in * strict order of all the streams. */ export function flatten( self: C.Stream> ): C.Stream { return Chain.chain_(self, identity) }