Table of Contents

Method ReadTimestampedDirectionAsync

Namespace
Harp.SyringePump
Assembly
Harp.SyringePump.dll

ReadTimestampedDirectionAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Direction register.

public Task<Timestamped<DirectionState>> ReadTimestampedDirectionAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<DirectionState>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.