MCPcopy Create free account
hub / github.com/dailydotdev/apps / setGqlBatchingEnabled

Function setGqlBatchingEnabled

packages/shared/src/graphql/batch.ts:28–30  ·  view source on GitHub ↗
(enabled: boolean)

Source from the content-addressed store, hash-verified

26let flushHandle: ReturnType<typeof setTimeout> | undefined;
27
28export const setGqlBatchingEnabled = (enabled: boolean): void => {
29 batchingEnabled = enabled;
30};
31
32const getStorageOverride = (): boolean | undefined => {
33 if (process.env.NODE_ENV === 'production') {

Callers 3

batch.spec.tsFile · 0.90
useGqlBatchingFlagFunction · 0.90
fallbackToSingleRequestsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected