Sha256: 627a52293d236f8e621f2f1c5e5fa95d29c9d4562baf780f83d88dc217e5c045

Contents?: true

Size: 1.92 KB

Versions: 34

Compression:

Stored size: 1.92 KB

Contents

/**
 * @license React
 * scheduler-unstable_post_task.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
'use strict';var a=window.performance,g=window.setTimeout,h=global.scheduler,k=a.now.bind(a),l=0,m=3;function p(c,d,b,f){l=k()+5;try{m=c;var e=f(!1);if("function"===typeof e){var n=new TaskController,r={priority:d,signal:n.signal};b._controller=n;h.postTask(p.bind(null,c,d,b,e),r).catch(q)}}catch(t){g(function(){throw t;})}finally{m=3}}function q(){}exports.unstable_IdlePriority=5;exports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;
exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(c){c._controller.abort()};exports.unstable_continueExecution=function(){};exports.unstable_forceFrameRate=function(){};exports.unstable_getCurrentPriorityLevel=function(){return m};exports.unstable_getFirstCallbackNode=function(){return null};exports.unstable_next=function(c){switch(m){case 1:case 2:case 3:var d=3;break;default:d=m}var b=m;m=d;try{return c()}finally{m=b}};
exports.unstable_now=k;exports.unstable_pauseExecution=function(){};exports.unstable_requestPaint=function(){};exports.unstable_runWithPriority=function(c,d){var b=m;m=c;try{return d()}finally{m=b}};
exports.unstable_scheduleCallback=function(c,d,b){switch(c){case 1:case 2:var f="user-blocking";break;case 4:case 3:f="user-visible";break;case 5:f="background";break;default:f="user-visible"}var e=new TaskController;b={priority:f,delay:"object"===typeof b&&null!==b?b.delay:0,signal:e.signal};e={_controller:e};h.postTask(p.bind(null,c,f,e,d),b).catch(q);return e};exports.unstable_shouldYield=function(){return k()>=l};
exports.unstable_wrapCallback=function(c){var d=m;return function(){var b=m;m=d;try{return c()}finally{m=b}}};

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
clapton-0.0.26 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.25 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.24 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.23 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.22 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.21 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.20 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.19 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.18 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.17 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.16 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.15 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.14 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.13 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.12 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.11 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.10 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.9 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.8 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js
clapton-0.0.7 lib/clapton/javascripts/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js