Structure_Concurrency5.9.0
ExecutorJob
A unit of scheduleable work.
- iOS
- 17.0+
- macOS
- 14.0+
- tvOS
- 17.0+
- watchOS
- 10.0+
@frozen struct ExecutorJob
Unless you’re implementing a scheduler, you don’t generally interact with jobs directly.
Citizens in _Concurrency
Conformances
protocol Sendable
A type whose values can safely be passed across concurrency domains by copying.
Members
init(UnownedJob
) init(Job
) var description: String
var priority: JobPriority
func runSynchronously(on: UnownedSerialExecutor
) Run this job on the passed in executor.