UNPKG

780 BJavaScriptView Raw
1/**
2 * Copyright 2013-present, Facebook, Inc.
3 * All rights reserved.
4 *
5 * This source code is licensed under the BSD-style license found in the
6 * LICENSE file in the root directory of this source tree. An additional grant
7 * of patent rights can be found in the PATENTS file in the same directory.
8 *
9 *
10 */
11
12'use strict';
13
14module.exports = {
15 NoWork: 0, // No work is pending.
16 SynchronousPriority: 1, // For controlled text inputs. Synchronous side-effects.
17 AnimationPriority: 2, // Needs to complete before the next frame.
18 HighPriority: 3, // Interaction that needs to complete pretty soon to feel responsive.
19 LowPriority: 4, // Data fetching, or result from updating stores.
20 OffscreenPriority: 5 // Won't be visible but do the work in case it becomes visible.
21};
\No newline at end of file