We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b888dc commit 719e045Copy full SHA for 719e045
packages/scheduler/src/forks/SchedulerPostTaskOnly.js
@@ -542,12 +542,12 @@ function postTask(callback) {
542
}
543
544
function requestHostCallback(callback) {
545
- scheduledHostCallback = callback;
546
- if (!isTaskLoopRunning) {
547
- isTaskLoopRunning = true;
548
- postTask(performWorkUntilDeadline);
549
- }
550
+ scheduledHostCallback = callback;
+ if (!isTaskLoopRunning) {
+ isTaskLoopRunning = true;
+ postTask(performWorkUntilDeadline);
+ }
+}
551
552
function requestHostTimeout(callback, ms) {
553
taskTimeoutID = setTimeout(() => {
0 commit comments