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