1. /**
    
  2.  * Copyright (c) Meta Platforms, Inc. and affiliates.
    
  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.  * @flow strict
    
  8.  */
    
  9. 
    
  10. export type PriorityLevel = 0 | 1 | 2 | 3 | 4 | 5;
    
  11. 
    
  12. // TODO: Use symbols?
    
  13. export const NoPriority = 0;
    
  14. export const ImmediatePriority = 1;
    
  15. export const UserBlockingPriority = 2;
    
  16. export const NormalPriority = 3;
    
  17. export const LowPriority = 4;
    
  18. export const IdlePriority = 5;