Instance Method (Default implementation)swift 6.0.3_Concurrency
enqueue(_:)
- iOS
- 17.0+
- macOS
- 14.0+
- tvOS
- 17.0+
- watchOS
- 10.0+
func enqueue(_ job: consuming Job)
func enqueue(_ job: consuming Job)
import _Concurrency
protocol Executor : AnyObject, Sendable
A service that can execute jobs.
@frozen struct Job
Deprecated equivalent of ExecutorJob
.
func enqueue(_ job: consuming ExecutorJob)
func enqueue(_ job: UnownedJob)
func enqueue(_ job: consuming Job)
func enqueue(_ job: consuming ExecutorJob)
func enqueue(_ job: UnownedJob)