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.
15 lines
348 B
15 lines
348 B
// see scheduler.mjs
|
|
|
|
function unstable_runWithPriority(priority, callback) {
|
|
return callback();
|
|
}
|
|
|
|
module.exports = {
|
|
unstable_ImmediatePriority: 1,
|
|
unstable_UserBlockingPriority: 2,
|
|
unstable_NormalPriority: 3,
|
|
unstable_LowPriority: 4,
|
|
unstable_IdlePriority: 5,
|
|
unstable_runWithPriority,
|
|
unstable_now: performance.now.bind(performance)
|
|
};
|
|
|