Table of Contents

Method ReadStepAsync

Namespace
Harp.SyringePump
Assembly
Harp.SyringePump.dll

ReadStepAsync(CancellationToken)

Asynchronously reads the contents of the Step register.

public Task<StepState> ReadStepAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<StepState>

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