Skip to content

TaskExecutorReference

tevelee edited this page Jul 25, 2026 · 1 revision

TaskExecutorReference

An unmanaged reference to a preferred task executor.

public struct TaskExecutorReference: Equatable 

Inheritance

Equatable

Initializers

init(identity:implementation:)

Creates a task-executor reference from its runtime fields.

public init(identity: UnsafeRawPointer?, implementation: UInt) 

Properties

identity

The task-executor identity, or nil when no preference is defined.

public let identity: UnsafeRawPointer?

implementation

Raw implementation word, including its low-bit kind tag.

public let implementation: UInt

isUndefined

Whether no task-executor preference is defined.

public var isUndefined: Bool 

isDefined

Whether a task-executor preference is defined.

public var isDefined: Bool 

kind

The executor behavior tag, or nil for a future runtime-defined tag.

public var kind: Kind? 

witnessTable

The masked task-executor witness-table address, if defined. Its entries remain runtime-private.

public var witnessTable: UnsafeRawPointer? 
Types
Protocols
Global Typealiases
Global Variables
Global Functions

Clone this wiki locally