Skip to content

JobFlags

tevelee edited this page Jul 25, 2026 · 1 revision

JobFlags

Flags stored on a schedulable job.

public struct JobFlags: Equatable, Sendable 

Inheritance

Equatable, Sendable

Initializers

init(bits:)

Creates flags from their Swift runtime representation.

public init(bits: UInt32) 

Properties

bits

Raw runtime flag bits.

public let bits: UInt32

kind

The job kind, or nil for a future runtime-defined kind.

public var kind: JobKind? 

priority

The job priority, or nil for a future runtime-defined priority.

public var priority: JobPriority? 

isAsyncTask

Whether this job is an asynchronous task.

public var isAsyncTask: Bool 

isChildTask

Whether this task is a child task.

public var isChildTask: Bool 

isFutureTask

Whether this task has a future fragment.

public var isFutureTask: Bool 

isGroupChildTask

Whether this task is a task-group child.

public var isGroupChildTask: Bool 

isAsyncLetTask

Whether this task implements an async let.

public var isAsyncLetTask: Bool 

hasInitialTaskExecutorPreference

Whether this task has an initial task-executor preference.

public var hasInitialTaskExecutorPreference: Bool 

hasInitialTaskName

Whether this task has an initial human-readable name.

public var hasInitialTaskName: Bool 
Types
Protocols
Global Typealiases
Global Variables
Global Functions

Clone this wiki locally