Instance Propertyswift 6.0.3_Concurrency
description
- iOS
- 17.0+
- macOS
- 14.0+
- tvOS
- 17.0+
- watchOS
- 10.0+
var description: String { get }
var description: String { get }
import _Concurrency
@frozen struct UnownedJob
A unit of schedulable work.
@frozen struct String
A Unicode string value that is a collection of characters.
init(_ job: ExecutorJob)
Create an UnownedJob
whose lifetime must be managed carefully until it is run exactly once.
init(_ job: Job)
Create an UnownedJob
whose lifetime must be managed carefully until it is run exactly once.
var priority: JobPriority { get }
The priority of this job.
func runSynchronously(isolatedTo serialExecutor: UnownedSerialExecutor, taskExecutor: UnownedTaskExecutor)
Run this job isolated to the passed in serial executor, while executing it on the specified task executor.
func runSynchronously(on executor: UnownedTaskExecutor)
Run this job isolated to the passed task executor.
func runSynchronously(on executor: UnownedSerialExecutor)
Run this job on the passed in executor.