StructureOperation
OperationQueue.SchedulerOptions
A type that defines options the operation queue accepts.
Availability 有効性
- iOS 7.0+
- iPadOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 11.0+
Technology
- Foundation ファウンデーション
Declaration 宣言
struct SchedulerOptions
Relationships 関係
From Protocol 由来プロトコル
See Also 参照
Scheduling Operations
func schedule(after: OperationQueue.SchedulerTimeType, tolerance: OperationQueue.SchedulerTimeType.Stride, options: OperationQueue.SchedulerOptions?, () -> Void)
Performs the action at some time after the specified date, optionally taking into account tolerance if possible.
func schedule(after: OperationQueue.SchedulerTimeType, interval: OperationQueue.SchedulerTimeType.Stride, tolerance: OperationQueue.SchedulerTimeType.Stride, options: OperationQueue.SchedulerOptions?, () -> Void) -> Cancellable
Performs the action at some time after the specified date, at the specified frequency, optionally taking into account tolerance if possible.
func schedule(options: OperationQueue.SchedulerOptions?, () -> Void)
Performs the action at the next possible opportunity.
var now: OperationQueue.SchedulerTimeType
The operation queue’s definition of the current moment in time.
var minimumTolerance : OperationQueue.SchedulerTimeType.Stride
The minimum tolerance the dispatch queue scheduler allows.
struct OperationQueue.SchedulerTimeType
The scheduler time type the operation queue uses.