MCPcopy Index your code
hub / github.com/Effect-TS/effect / flattenCause

Function flattenCause

packages/effect/src/internal/cause.ts:475–477  ·  view source on GitHub ↗
(cause: Cause.Cause<unknown>)

Source from the content-addressed store, hash-verified

473 * @internal
474 */
475const flattenCause = (cause: Cause.Cause<unknown>): Chunk.Chunk<HashSet.HashSet<unknown>> => {
476 return flattenCauseLoop(Chunk.of(cause), Chunk.empty())
477}
478
479/** @internal */
480const flattenCauseLoop = (

Callers 1

[Hash.symbol]Function · 0.85

Calls 2

flattenCauseLoopFunction · 0.85
ofMethod · 0.65

Tested by

no test coverage detected