Table of Contents

Method ReadTimestampedEnablePowerAsync

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

ReadTimestampedEnablePowerAsync(CancellationToken)

Asynchronously reads the timestamped contents of the EnablePower register.

public Task<Timestamped<LedState>> ReadTimestampedEnablePowerAsync(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.