Instance Method
インスタンスメソッド
schedule(options:
schedule(options:_:)
Performs the action at the next possible opportunity.
Availability 有効性
- iOS 13.0+
- iPadOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
Technology
- Foundation ファウンデーション
Declaration 宣言
func schedule(options: OperationQueue
.SchedulerOptions
?, _ action: @escaping () -> Void
)
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.
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.
struct OperationQueue.SchedulerOptions
A type that defines options the operation queue accepts.