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

Function scheduleFlush

packages/shared/src/graphql/batch.ts:214–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212};
213
214const scheduleFlush = () => {
215 if (flushHandle) {
216 return;
217 }
218
219 flushHandle = setTimeout(flush, BATCH_WINDOW);
220};
221
222// Queries opt into this instead of `gqlClient.request` so several secondary
223// requests fired in the same tick leave as one POST. Mutations never do.

Callers 1

gqlBatchRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected