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

Method get

packages/effect/src/ui/Query.ts:280–280  ·  view source on GitHub ↗

* Returns the stored value when it's fresh, and fetches otherwise, joining * a fetch already in flight. The result of the fetch is stored. * * **Gotchas** * * A call waiting on a fetch that reverts is interrupted. A fetch reverts * when the fetcher interrupts itself, and when the S

(
    args: Args["Type"]
  )

Source from the content-addressed store, hash-verified

278 * stores nothing.
279 */
280 get(
281 args: Args["Type"]
282 ): Effect.Effect<Success["Type"], Error["Type"], Self | Cache>
283 /**

Callers 15

chainMethod · 0.65
comment_atMethod · 0.65
line_endMethod · 0.65
runMethod · 0.65
loadExamplesFunction · 0.65
requestFunction · 0.65
resolvedRequestFunction · 0.65
Utils.test.tsFile · 0.65
parseOpenApiFunction · 0.65

Calls

no outgoing calls

Tested by 15

execMethod · 0.52
workerFunction · 0.52
suiteFunction · 0.52
getFunction · 0.52
sessionStoreFunction · 0.52
storedFunction · 0.52
addEventListenerMethod · 0.52
removeEventListenerMethod · 0.52
emitMethod · 0.52
makeStreamTestLayerFunction · 0.52
getFunction · 0.52
makeStreamTestLayerFunction · 0.52