You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
348 B

  1. // see scheduler.mjs
  2. function unstable_runWithPriority(priority, callback) {
  3. return callback();
  4. }
  5. module.exports = {
  6. unstable_ImmediatePriority: 1,
  7. unstable_UserBlockingPriority: 2,
  8. unstable_NormalPriority: 3,
  9. unstable_LowPriority: 4,
  10. unstable_IdlePriority: 5,
  11. unstable_runWithPriority,
  12. unstable_now: performance.now.bind(performance)
  13. };