// ets_tracing: off import type * as CK from "../../../../Collections/Immutable/Chunk/index.js" import type * as T from "../../../../Effect/index.js" import * as CH from "../../Channel/index.js" import * as C from "../core.js" /** * Effectfully transforms the chunks emitted by this stream. */ export function mapChunksEffect_( self: C.Stream, f: (c: CK.Chunk) => T.Effect> ): C.Stream { return new C.Stream(CH.mapOutEffect_(self.channel, f)) } /** * Effectfully transforms the chunks emitted by this stream. * * @ets_data_first mapChunksEffect_ */ export function mapChunksEffect( f: (c: CK.Chunk) => T.Effect> ) { return (self: C.Stream) => mapChunksEffect_(self, f) }