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

Function flatten

packages/effect/src/internal/core.ts:816–818  ·  view source on GitHub ↗
(
  self: Effect.Effect<Effect.Effect<A, E1, R1>, E, R>
)

Source from the content-addressed store, hash-verified

814
815/* @internal */
816export const flatten = <A, E1, R1, E, R>(
817 self: Effect.Effect<Effect.Effect<A, E1, R1>, E, R>
818): Effect.Effect<A, E | E1, R | R1> => flatMap(self, identity)
819
820/* @internal */
821export const flip = <A, E, R>(self: Effect.Effect<A, E, R>): Effect.Effect<E, A, R> =>

Callers 5

stream.tsFile · 0.70
unwrapFunction · 0.70
unwrapScopedFunction · 0.70
unwrapScopedWithFunction · 0.70
stm.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…