updateExecuteOnce(_:completionHandler:)
Updates the repetition status of the event trigger.
Declaration
func updateExecuteOnce(_ executeOnce: Bool, completionHandler completion: @escaping @Sendable ((any Error)?) -> Void)func updateExecuteOnce(_ executeOnce: Bool) async throwsParameters
- executeOnce:
A Boolean value that specifies whether to repeat the trigger.
- completion:
A block that executes after processing the request.
The block takes the following parameter:
- error
If the request was successful, the value of
errorisnil; otherwise, the value provides more information about the request status.