MCPcopy Create free account
hub / github.com/microsoft/SandDance / markSchedulerSuspended

Function markSchedulerSuspended

docs/external/js/react.development.js:2477–2485  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

2475 }
2476 }
2477 function markSchedulerSuspended(ms) {
2478 {
2479 mainThreadIdCounter++;
2480
2481 if (eventLog !== null) {
2482 logEvent([SchedulerSuspendEvent, ms * 1000, mainThreadIdCounter]);
2483 }
2484 }
2485 }
2486 function markSchedulerUnsuspended(ms) {
2487 {
2488 if (eventLog !== null) {

Callers 1

flushWorkFunction · 0.85

Calls 1

logEventFunction · 0.85

Tested by

no test coverage detected