// tracing: off
import * as A from "../../Collections/Immutable/Chunk"
import { flattenChunks } from "./flattenChunks"
import { map_ } from "./map"
/**
 * Submerges the iterables carried by this stream into the stream's structure, while
 * still preserving them.
 */

export function flattenIterables(self) {
  return flattenChunks(map_(self, A.from))
}
//# sourceMappingURL=flattenIterables.js.map
