Structure_Concurrency5.9.0
Job
Deprecated equivalent of ExecutorJob
.
This declaration is deprecated. It has been renamed to ExecutorJob.
@frozen struct Job
A unit of scheduleable work.
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
func runSynchronously(on: UnownedSerialExecutor
) Run this job on the passed in executor.
init(UnownedJob
) init(ExecutorJob
) var description: String
var priority: JobPriority