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

Function setRequestCaching

packages/effect/src/Layer.ts:1031–1036  ·  view source on GitHub ↗
(
  requestCaching: boolean
)

Source from the content-addressed store, hash-verified

1029 * @category requests & batching
1030 */
1031export const setRequestCaching: (requestCaching: boolean) => Layer<never> = (
1032 requestCaching: boolean
1033) =>
1034 scopedDiscard(
1035 fiberRuntime.fiberRefLocallyScoped(query.currentCacheEnabled, requestCaching)
1036 )
1037
1038/**
1039 * @since 2.0.0

Callers

nothing calls this directly

Calls 1

scopedDiscardFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…