mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
* Facebook -> Meta in copyright rg --files | xargs sed -i 's#Copyright (c) Facebook, Inc. and its affiliates.#Copyright (c) Meta Platforms, Inc. and affiliates.#g' * Manual tweaks
19 lines
483 B
JavaScript
19 lines
483 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow strict
|
|
*/
|
|
|
|
export type PriorityLevel = 0 | 1 | 2 | 3 | 4 | 5;
|
|
|
|
// TODO: Use symbols?
|
|
export const NoPriority = 0;
|
|
export const ImmediatePriority = 1;
|
|
export const UserBlockingPriority = 2;
|
|
export const NormalPriority = 3;
|
|
export const LowPriority = 4;
|
|
export const IdlePriority = 5;
|