1. /**
    
  2.  * Copyright (c) Meta Platforms, Inc. and affiliates.
    
  3.  *
    
  4.  * This source code is licensed under the MIT license found in the
    
  5.  * LICENSE file in the root directory of this source tree.
    
  6.  *
    
  7.  * @flow
    
  8.  */
    
  9. 
    
  10. import * as React from 'react';
    
  11. 
    
  12. const ReactInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
    
  13. 
    
  14. const {
    
  15.   unstable_cancelCallback,
    
  16.   unstable_now,
    
  17.   unstable_scheduleCallback,
    
  18.   unstable_shouldYield,
    
  19.   unstable_requestPaint,
    
  20.   unstable_getFirstCallbackNode,
    
  21.   unstable_runWithPriority,
    
  22.   unstable_next,
    
  23.   unstable_continueExecution,
    
  24.   unstable_pauseExecution,
    
  25.   unstable_getCurrentPriorityLevel,
    
  26.   unstable_ImmediatePriority,
    
  27.   unstable_UserBlockingPriority,
    
  28.   unstable_NormalPriority,
    
  29.   unstable_LowPriority,
    
  30.   unstable_IdlePriority,
    
  31.   unstable_forceFrameRate,
    
  32. 
    
  33.   // this doesn't actually exist on the scheduler, but it *does*
    
  34.   // on scheduler/unstable_mock, which we'll need inside act()
    
  35.   // and for internal testing
    
  36.   unstable_flushAllWithoutAsserting,
    
  37.   log,
    
  38.   unstable_setDisableYieldValue,
    
  39. } = ReactInternals.Scheduler;
    
  40. 
    
  41. export {
    
  42.   unstable_cancelCallback,
    
  43.   unstable_now,
    
  44.   unstable_scheduleCallback,
    
  45.   unstable_shouldYield,
    
  46.   unstable_requestPaint,
    
  47.   unstable_getFirstCallbackNode,
    
  48.   unstable_runWithPriority,
    
  49.   unstable_next,
    
  50.   unstable_continueExecution,
    
  51.   unstable_pauseExecution,
    
  52.   unstable_getCurrentPriorityLevel,
    
  53.   unstable_ImmediatePriority,
    
  54.   unstable_UserBlockingPriority,
    
  55.   unstable_NormalPriority,
    
  56.   unstable_LowPriority,
    
  57.   unstable_IdlePriority,
    
  58.   unstable_forceFrameRate,
    
  59.   unstable_flushAllWithoutAsserting,
    
  60.   log,
    
  61.   unstable_setDisableYieldValue,
    
  62. };