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

Function refreshing

packages/effect/src/internal/scopedCache.ts:135–143  ·  view source on GitHub ↗
(
  scoped: Effect.Effect<Effect.Effect<Value, Error, Scope.Scope>>,
  complete: Complete<Key, Value, Error>
)

Source from the content-addressed store, hash-verified

133
134/** @internal */
135export const refreshing = <Key, Value, Error = never>(
136 scoped: Effect.Effect<Effect.Effect<Value, Error, Scope.Scope>>,
137 complete: Complete<Key, Value, Error>
138): Refreshing<Key, Value, Error> =>
139 Data.struct({
140 _tag: "Refreshing",
141 scoped,
142 complete
143 })
144
145/** @internal */
146export const toScoped = <Key, Value, Error = never>(

Callers 1

refreshMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected