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

Function scheduleDiscreteEvent

packages/scheduler/src/__tests__/Scheduler-test.js:139–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137 }
138 }
139 function scheduleDiscreteEvent() {
140 if (isFiringMessageEvent) {
141 hasPendingDiscreteEvent = true;
142 } else {
143 log('Discrete Event');
144 }
145 }
146 function scheduleContinuousEvent() {
147 if (isFiringMessageEvent) {
148 hasPendingContinuousEvent = true;

Callers

nothing calls this directly

Calls 1

logFunction · 0.70

Tested by

no test coverage detected