Table of Contents

Method ReadCommandsAsync

Namespace
Harp.SoundCard
Assembly
Harp.SoundCard.dll

ReadCommandsAsync(CancellationToken)

Asynchronously reads the contents of the Commands register.

public Task<ControllerCommand> ReadCommandsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ControllerCommand>

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