TaskPriority Enum
The priority of the tasks and of the continuations of a Scheduler (https://wicg.github.io/scheduling-apis/#enumdef-taskpriority).
public enum TaskPriorityFields
| Name | Value | Description |
|---|---|---|
UserBlocking | 0 | The highest priority: the tasks that should run as soon as possible, e.g. the work that responds to the input of the user. |
UserVisible | 1 | The default priority: the tasks whose effects are visible to the user, but not immediately. |
Background | 2 | The lowest priority: the tasks that are not time-critical. |