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

Function refreshing

packages/effect/src/internal/cache.ts:87–95  ·  view source on GitHub ↗
(
  deferred: Deferred.Deferred<Value, Error>,
  complete: Complete<Key, Value, Error>
)

Source from the content-addressed store, hash-verified

85
86/** @internal */
87export const refreshing = <Key, Value, Error>(
88 deferred: Deferred.Deferred<Value, Error>,
89 complete: Complete<Key, Value, Error>
90): MapValue<Key, Value, Error> =>
91 Data.struct({
92 _tag: "Refreshing" as const,
93 deferred,
94 complete
95 })
96
97/** @internal */
98export const MapKeyTypeId = Symbol.for("effect/Cache/MapKey")

Callers 1

refreshMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…