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

Function flatten

packages/effect/src/internal/effect.ts:1753–1755  ·  view source on GitHub ↗
(
  self: Effect.Effect<Effect.Effect<A, E, R>, E2, R2>
)

Source from the content-addressed store, hash-verified

1751
1752/** @internal */
1753export const flatten = <A, E, R, E2, R2>(
1754 self: Effect.Effect<Effect.Effect<A, E, R>, E2, R2>
1755): Effect.Effect<A, E | E2, R | R2> => flatMap(self, identity)
1756
1757/** @internal */
1758export const map: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected