Method WriteDirectionAsync
- Namespace
- Harp.SyringePump
- Assembly
- Harp.SyringePump.dll
WriteDirectionAsync(DirectionState, CancellationToken)
Asynchronously writes a value to the Direction register.
public Task WriteDirectionAsync(DirectionState value, CancellationToken cancellationToken = default)
Parameters
value
DirectionStateThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.