updateRecurrence(_:completionHandler:)
Updates the recurrence interval.
Declaration
func updateRecurrence(_ recurrence: DateComponents?, completionHandler completion: @escaping @Sendable ((any Error)?) -> Void)func updateRecurrence(_ recurrence: DateComponents?) async throwsParameters
- recurrence:
The new recurrence interval.
- completion:
The block executed after the request is processed.
- error
nilon success; otherwise, error object indicating the reason for failure.
Discussion
See recurrence for a discussion of how the recurrence value is used.