Sha256: 8c1f10be826a2fd01f0b47e1850bd0adbd3e9b7ecb2beda9b5670ea09e68832f

Contents?: true

Size: 768 Bytes

Versions: 69

Compression:

Stored size: 768 Bytes

Contents

/* 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);

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
isomorfeus-preact-10.9.0 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.8.2 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.8.1 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.8.0 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.7.3 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.7.2 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.7.1 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.7.0 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.6.62 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.6.61 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.6.60 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.6.59 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.6.58 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.6.57 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.6.56 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.6.55 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.6.54 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.6.53 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.6.52 node_modules/preact/compat/scheduler.mjs
isomorfeus-preact-10.6.51 node_modules/preact/compat/scheduler.mjs