mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2025-12-17 14:05:12 +00:00
24 lines
768 B
JavaScript
24 lines
768 B
JavaScript
/* eslint-disable */
|
|
|
|
// This file includes experimental React APIs exported from the "scheduler"
|
|
// npm package. Despite being explicitely marked as unstable some libraries
|
|
// already make use of them. This file is not a full replacement for the
|
|
// scheduler package, but includes the necessary shims to make those libraries
|
|
// work with Preact.
|
|
|
|
export var unstable_ImmediatePriority = 1;
|
|
export var unstable_UserBlockingPriority = 2;
|
|
export var unstable_NormalPriority = 3;
|
|
export var unstable_LowPriority = 4;
|
|
export var unstable_IdlePriority = 5;
|
|
|
|
/**
|
|
* @param {number} priority
|
|
* @param {() => void} callback
|
|
*/
|
|
export function unstable_runWithPriority(priority, callback) {
|
|
return callback();
|
|
}
|
|
|
|
export var unstable_now = performance.now.bind(performance);
|