Structureswift 6.0.1_Concurrency
ExecutorJob
A unit of schedulable 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
Type members
Instance members
var description: String
var priority: JobPriority
func runSynchronously(isolatedTo: UnownedSerialExecutor, taskExecutor: UnownedTaskExecutor
) Run this job isolated to the passed in serial executor, while executing it on the specified task executor.
func runSynchronously(on: UnownedTaskExecutor
) Run this job on the passed in task executor.
func runSynchronously(on: UnownedSerialExecutor
) Run this job on the passed in executor.