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

Function flatten

packages/effect/src/Micro.ts:1564–1566  ·  view source on GitHub ↗
(
  self: Micro<Micro<A, E, R>, E2, R2>
)

Source from the content-addressed store, hash-verified

1562 * @category mapping & sequencing
1563 */
1564export const flatten = <A, E, R, E2, R2>(
1565 self: Micro<Micro<A, E, R>, E2, R2>
1566): Micro<A, E | E2, R | R2> => flatMap(self, identity)
1567
1568/**
1569 * Transforms the success value of the `Micro` effect with the specified

Callers 1

fiberJoinFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected