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

Function pending

packages/effect/src/internal/scopedCache.ts:124–132  ·  view source on GitHub ↗
(
  key: cache_.MapKey<Key>,
  scoped: Effect.Effect<Effect.Effect<Value, Error, Scope.Scope>>
)

Source from the content-addressed store, hash-verified

122
123/** @internal */
124export const pending = <Key, Value, Error = never>(
125 key: cache_.MapKey<Key>,
126 scoped: Effect.Effect<Effect.Effect<Value, Error, Scope.Scope>>
127): Pending<Key, Value, Error> =>
128 Data.struct({
129 _tag: "Pending",
130 key,
131 scoped
132 })
133
134/** @internal */
135export const refreshing = <Key, Value, Error = never>(

Callers 2

getMethod · 0.70
refreshMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected