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

Function setRequestBatching

packages/effect/src/Layer.ts:1020–1025  ·  view source on GitHub ↗
(
  requestBatching: boolean
)

Source from the content-addressed store, hash-verified

1018 * @category requests & batching
1019 */
1020export const setRequestBatching: (requestBatching: boolean) => Layer<never> = (
1021 requestBatching: boolean
1022) =>
1023 scopedDiscard(
1024 fiberRuntime.fiberRefLocallyScoped(core.currentRequestBatching, requestBatching)
1025 )
1026
1027/**
1028 * @since 2.0.0

Callers

nothing calls this directly

Calls 1

scopedDiscardFunction · 0.85

Tested by

no test coverage detected