Type PropertyConcurrency

    basePriority

    The current task’s base priority.

    • Available when Success is Never and Failure is Never

    • iOS 9999+
    • macOS 9999+
    • tvOS 9999+
    • watchOS 9999+
    static var basePriority: TaskPriority? { get }

    Overview

    If you access this property outside of any task, this returns nil