MCPcopy Create free account
hub / github.com/reactjs/react-rails / markSchedulerSuspended

Function markSchedulerSuspended

lib/assets/react-source/development/react.js:3275–3283  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

3273 }
3274 }
3275 function markSchedulerSuspended(ms) {
3276 {
3277 mainThreadIdCounter++;
3278
3279 if (eventLog !== null) {
3280 logEvent([SchedulerSuspendEvent, ms * 1000, mainThreadIdCounter]);
3281 }
3282 }
3283 }
3284 function markSchedulerUnsuspended(ms) {
3285 {
3286 if (eventLog !== null) {

Callers 1

flushWorkFunction · 0.85

Calls 1

logEventFunction · 0.85

Tested by

no test coverage detected