sendCommand(command:extraData:_:)
func sendCommand(command inCommand: TimerOperation, extraData inExtraData: String = "", _ inRetries: Int = 5)
This sends a timer operation caommand to the peer
Parameters
inCommand
|
The operation to send. |
inExtraData
|
A String, with any value we wish associated with the command. Default is the command, itself. |
inRetries
|
The number of try again retries. |
-
Handles an error in the transaction.
This looks for a certain kind of failure, and will retry a few times.
Declaration
Swift
func _errorHandler(_ inError: any Error)
Parameters
inError
The error that caused this call.