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