MCPcopy Index your code
hub / github.com/react/react / clearGestureTimers

Function clearGestureTimers

packages/react-reconciler/src/ReactProfilerTimer.js:343–350  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

341}
342
343export function clearGestureTimers(): void {
344 gestureUpdateTime = -1.1;
345 gestureUpdateType = 0;
346 gestureSuspendedTime = -1.1;
347 gestureEventRepeatTime = gestureEventTime;
348 gestureEventTime = -1.1;
349 gestureClampTime = now();
350}
351
352export function clearGestureUpdates(): void {
353 // Same as clearGestureTimers but doesn't reset the clamp time because we didn't

Callers 1

prepareFreshStackFunction · 0.90

Calls 1

nowFunction · 0.50

Tested by

no test coverage detected