UNPKG

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