Table of Contents

Method ReadTimestampedEnableLedAsync

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

ReadTimestampedEnableLedAsync(CancellationToken)

Asynchronously reads the timestamped contents of the EnableLed register.

public Task<Timestamped<LedState>> ReadTimestampedEnableLedAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<LedState>>

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