Method ReadTimestampedForwardSwitchAsync
- Namespace
- Harp.SyringePump
- Assembly
- Harp.SyringePump.dll
ReadTimestampedForwardSwitchAsync(CancellationToken)
Asynchronously reads the timestamped contents of the ForwardSwitch register.
public Task<Timestamped<ForwardSwitchState>> ReadTimestampedForwardSwitchAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ForwardSwitchState>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.