Method WriteCommandsAsync
WriteCommandsAsync(ControllerCommand, CancellationToken)
Asynchronously writes a value to the Commands register.
public Task WriteCommandsAsync(ControllerCommand value, CancellationToken cancellationToken = default)
Parameters
valueControllerCommandThe value to be stored in the register.
cancellationTokenCancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.