const fileName_1 = "(@effect/core) _src/stream/Stream/operations/fromChunks.ts";
import * as tsplus_module_1 from "@effect/core/stream/Stream/operations/fromChunk";
import * as tsplus_module_2 from "@effect/core/stream/Stream/operations/fromCollection";
import * as tsplus_module_3 from "@effect/core/stream/Stream/operations/flatMap";
/**
 * Creates a stream from an arbitrary number of chunks.
 *
 * @tsplus static ets/Stream/Ops fromChunks
 */

export function fromChunks(...chunks) {
  return tsplus_module_3.flatMap_(tsplus_module_2.fromCollection(() => chunks, fileName_1 + ":7:31"), chunk => tsplus_module_1.fromChunk(() => chunk, fileName_1 + ":7:75"), fileName_1 + ":7:47");
}
//# sourceMappingURL=fromChunks.mjs.map