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

Function make

packages/effect/src/TxDeferred.ts:112–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110 * @since 2.0.0
111 */
112export const make = <A, E = never>(): Effect.Effect<TxDeferred<A, E>> =>
113 Effect.map(TxRef.make<Option<Result<A, E>>>(O.none()), makeTxDeferred)
114
115/**
116 * Reads the deferred value. Retries the transaction if the deferred has not

Callers

nothing calls this directly

Calls 2

makeMethod · 0.65
mapMethod · 0.45

Tested by

no test coverage detected