Table of Contents

Method ReadTimestampedCommandsAsync

Namespace
Harp.SoundCard
Assembly
Harp.SoundCard.dll

ReadTimestampedCommandsAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Commands register.

public Task<Timestamped<ControllerCommand>> ReadTimestampedCommandsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<ControllerCommand>>

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