MCPcopy Create free account
hub / github.com/Effect-TS/effect / combineAll

Function combineAll

packages/effect/src/internal/fiberId.ts:185–187  ·  view source on GitHub ↗
(fiberIds: HashSet.HashSet<FiberId.FiberId>)

Source from the content-addressed store, hash-verified

183
184/** @internal */
185export const combineAll = (fiberIds: HashSet.HashSet<FiberId.FiberId>): FiberId.FiberId => {
186 return pipe(fiberIds, HashSet.reduce(none as FiberId.FiberId, (a, b) => combine(b)(a)))
187}
188
189/** @internal */
190export const getOrElse = dual<

Callers

nothing calls this directly

Calls 2

pipeFunction · 0.70
combineFunction · 0.50

Tested by

no test coverage detected