Skip to content

JobKind

tevelee edited this page Jul 25, 2026 · 1 revision

JobKind

A schedulable Swift-concurrency job kind.

public enum JobKind: UInt, Sendable 

Kinds from firstReserved onwards are runtime implementation details and may change in a future Swift runtime.

Inheritance

Sendable, UInt

Enumeration Cases

task

An AsyncTask job.

case task = 0

defaultActorInline

A job used to run work inline on a default actor.

case defaultActorInline = 192

defaultActorSeparate

A job used to run separately scheduled default-actor work.

case defaultActorSeparate = 193

defaultActorOverride

A job used by a default-actor executor override.

case defaultActorOverride = 194

nullaryContinuation

A private nullary continuation job.

case nullaryContinuation = 195

isolatedDeinit

A private isolated-deinitialization job.

case isolatedDeinit = 196

Properties

firstReserved

The first kind reserved for Swift runtime implementation jobs.

public static let firstReserved = JobKind.defaultActorInline
Types
Protocols
Global Typealiases
Global Variables
Global Functions

Clone this wiki locally