// ets_tracing: off import type { Effect } from "../../../../Effect/effect.js" import * as forEach from "../../../../Effect/excl-forEach.js" import type * as Chunk from "../core.js" /** * Effectfully maps the elements of this chunk in parallel purely for the effects. */ export function mapEffectUnitPar_( self: Chunk.Chunk, f: (a: A) => Effect ): Effect { return forEach.forEachUnitPar_(self, f) } /** * Effectfully maps the elements of this chunk in parallel purely for the effects. * * @ets_data_first mapEffectUnitPar_ */ export function mapEffectUnitPar( f: (a: A) => Effect ): (self: Chunk.Chunk) => Effect { return (self) => mapEffectUnitPar_(self, f) }