MCPcopy Create free account
hub / github.com/effect-app/libs / transposeOption

Function transposeOption

repos/effect/packages/effect/src/internal/effect.ts:946–948  ·  view source on GitHub ↗
(
  self: Option.Option<Effect.Effect<A, E, R>>
)

Source from the content-addressed store, hash-verified

944 }
945})
946
947/** @internal */
948export const fromOption: <Arg extends Option.Option<unknown> | LazyArg<unknown>, E = Cause.NoSuchElementError>(
949 arg: Arg,
950 ...rest: [Arg] extends [Option.Option<unknown>] ? [onNone?: LazyArg<E>] : []
951) => [Arg] extends [Option.Option<infer A>] ? Effect.Effect<A, E>

Callers

nothing calls this directly

Calls 1

mapFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…