Contents

updateRecurrence(_:completionHandler:)

Updates the recurrence interval.

Declaration

func updateRecurrence(_ recurrence: DateComponents?, completionHandler completion: @escaping  @Sendable ((any Error)?) -> Void)
func updateRecurrence(_ recurrence: DateComponents?) async throws

Parameters

  • recurrence:

    The new recurrence interval.

  • completion:

    The block executed after the request is processed.

    error

    nil on success; otherwise, error object indicating the reason for failure.

Discussion

See recurrence for a discussion of how the recurrence value is used.

See Also

Using recurrence