Contents

updateFireDate(_:completionHandler:)

Updates the next fire date for the trigger.

Declaration

func updateFireDate(_ fireDate: Date, completionHandler completion: @escaping  @Sendable ((any Error)?) -> Void)
func updateFireDate(_ fireDate: Date) async throws

Parameters

  • fireDate:

    The new fire date.

  • completion:

    The block executed after the request is processed.

    error

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

See Also

Choosing the fire date