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

Function makeTxDeferred

packages/effect/src/TxDeferred.ts:82–87  ·  view source on GitHub ↗
(ref: TxRef.TxRef<Option<Result<A, E>>>)

Source from the content-addressed store, hash-verified

80}
81
82const makeTxDeferred = <A, E>(ref: TxRef.TxRef<Option<Result<A, E>>>): TxDeferred<A, E> => {
83 const self = Object.create(TxDeferredProto)
84 self[TypeId] = TypeId
85 self.ref = ref
86 return self
87}
88
89/**
90 * Creates a new empty `TxDeferred`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected