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