MCPcopy
hub / github.com/facebook/react / getCurrentUpdatePriority

Function getCurrentUpdatePriority

packages/react-art/src/ReactFiberConfigART.js:387–389  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

385}
386
387export function getCurrentUpdatePriority(): EventPriority {
388 return currentUpdatePriority;
389}
390
391export function resolveUpdatePriority(): EventPriority {
392 return currentUpdatePriority || DefaultEventPriority;

Callers 11

deferredUpdatesFunction · 0.90
discreteUpdatesFunction · 0.90
flushSyncFromReconcilerFunction · 0.90
commitRootFunction · 0.90
flushMutationEffectsFunction · 0.90
flushLayoutEffectsFunction · 0.90
flushSpawnedWorkFunction · 0.90
commitGestureOnRootFunction · 0.90
flushGestureMutationsFunction · 0.90
flushGestureAnimationsFunction · 0.90
flushPassiveEffectsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected