MCPcopy Create free account
hub / github.com/clauderic/dnd-kit / enqueue

Function enqueue

apps/docs/src/scripts/mintlify-analytics.ts:159–165  ·  view source on GitHub ↗
(event: AnalyticsEvent)

Source from the content-addressed store, hash-verified

157}
158
159function enqueue(event: AnalyticsEvent): void {
160 queue.push(event);
161
162 if (queue.length >= BATCH_SIZE) {
163 flush();
164 }
165}
166
167function startPeriodicFlush(): void {
168 if (timer != null) return;

Callers 1

trackEventFunction · 0.85

Calls 1

flushFunction · 0.70

Tested by

no test coverage detected