Table of Contents

Method ReadOperationControlAsync

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

ReadOperationControlAsync(CancellationToken)

Asynchronously reads the contents of the OperationControl register.

public Task<OperationControlPayload> ReadOperationControlAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<OperationControlPayload>

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