@@ -152,7 +152,7 @@ function handleTimeout(currentTime: number) {
152152 if ( ! isHostCallbackScheduled ) {
153153 if ( peek ( taskQueue ) !== null ) {
154154 isHostCallbackScheduled = true ;
155- requestHostCallback ( flushWork ) ;
155+ requestHostCallback ( ) ;
156156 } else {
157157 const firstTimer = peek ( timerQueue ) ;
158158 if ( firstTimer !== null ) {
@@ -419,7 +419,7 @@ function unstable_scheduleCallback(
419419 // wait until the next time we yield.
420420 if ( ! isHostCallbackScheduled && ! isPerformingWork ) {
421421 isHostCallbackScheduled = true ;
422- requestHostCallback ( flushWork ) ;
422+ requestHostCallback ( ) ;
423423 }
424424 }
425425
@@ -434,7 +434,7 @@ function unstable_continueExecution() {
434434 isSchedulerPaused = false ;
435435 if ( ! isHostCallbackScheduled && ! isPerformingWork ) {
436436 isHostCallbackScheduled = true ;
437- requestHostCallback ( flushWork ) ;
437+ requestHostCallback ( ) ;
438438 }
439439}
440440
@@ -616,7 +616,7 @@ if (typeof localSetImmediate === 'function') {
616616 } ;
617617}
618618
619- function requestHostCallback ( callback : ( initialTime : number ) = > boolean ) {
619+ function requestHostCallback ( ) {
620620 if ( ! isMessageLoopRunning ) {
621621 isMessageLoopRunning = true ;
622622 schedulePerformWorkUntilDeadline ( ) ;
0 commit comments