@@ -152,7 +152,7 @@ function handleTimeout(currentTime: number) {
152
152
if ( ! isHostCallbackScheduled ) {
153
153
if ( peek ( taskQueue ) !== null ) {
154
154
isHostCallbackScheduled = true ;
155
- requestHostCallback ( flushWork ) ;
155
+ requestHostCallback ( ) ;
156
156
} else {
157
157
const firstTimer = peek ( timerQueue ) ;
158
158
if ( firstTimer !== null ) {
@@ -419,7 +419,7 @@ function unstable_scheduleCallback(
419
419
// wait until the next time we yield.
420
420
if ( ! isHostCallbackScheduled && ! isPerformingWork ) {
421
421
isHostCallbackScheduled = true ;
422
- requestHostCallback ( flushWork ) ;
422
+ requestHostCallback ( ) ;
423
423
}
424
424
}
425
425
@@ -434,7 +434,7 @@ function unstable_continueExecution() {
434
434
isSchedulerPaused = false ;
435
435
if ( ! isHostCallbackScheduled && ! isPerformingWork ) {
436
436
isHostCallbackScheduled = true ;
437
- requestHostCallback ( flushWork ) ;
437
+ requestHostCallback ( ) ;
438
438
}
439
439
}
440
440
@@ -616,7 +616,7 @@ if (typeof localSetImmediate === 'function') {
616
616
} ;
617
617
}
618
618
619
- function requestHostCallback ( callback : ( initialTime : number ) = > boolean ) {
619
+ function requestHostCallback ( ) {
620
620
if ( ! isMessageLoopRunning ) {
621
621
isMessageLoopRunning = true ;
622
622
schedulePerformWorkUntilDeadline ( ) ;
0 commit comments