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

Function complete

packages/effect/src/internal/cache.ts:61–73  ·  view source on GitHub ↗
(
  key: MapKey<Key>,
  exit: Exit.Exit<Value, Error>,
  entryStats: Cache.EntryStats,
  timeToLiveMillis: number
)

Source from the content-addressed store, hash-verified

59
60/** @internal */
61export const complete = <Key, Value, Error>(
62 key: MapKey<Key>,
63 exit: Exit.Exit<Value, Error>,
64 entryStats: Cache.EntryStats,
65 timeToLiveMillis: number
66): MapValue<Key, Value, Error> =>
67 Data.struct({
68 _tag: "Complete" as const,
69 key,
70 exit,
71 entryStats,
72 timeToLiveMillis
73 })
74
75/** @internal */
76export const pending = <Key, Value, Error>(

Callers 8

setMethod · 0.70
lookupValueOfMethod · 0.70
request.tsFile · 0.70
invokeWithInterruptFunction · 0.70
fromFunctionFunction · 0.70
fromFunctionBatchedFunction · 0.70
fromEffectFunction · 0.70
fromEffectTaggedFunction · 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…