This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
NoWork: 0, // No work is pending. | |
SynchronousPriority: 1, // For controlled text inputs. Synchronous side-effects. | |
TaskPriority: 2, // Completes at the end of the current tick. | |
HighPriority: 3, // Interaction that needs to complete pretty soon to feel responsive. | |
LowPriority: 4, // Data fetching, or result from updating stores. | |
OffscreenPriority: 5, // Won't be visible but do the work in case it becomes visible. | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment