Struct TaskPriority
sealed struct TaskPriority
TaskPriority is used to set the priority of task execution in IRunLoop. Supported
priorities are HIGH, DEFAULT, and LOW. Tasks that have HIGH priority are executed before DEFAULT
priority tasks and DEFAULT priority tasks are executed before LOW priority tasks.
Fields
Constants
HIGH
TaskPriority={0}
TaskPriority value representing high priority.
DEFAULT
TaskPriority={1}
TaskPriority value representing default priority.
LOW
TaskPriority={2}
TaskPriority value representing low priority.
