Table of Contents

Method ReadEnableEventsAsync

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

ReadEnableEventsAsync(CancellationToken)

Asynchronously reads the contents of the EnableEvents register.

public Task<LedArrayEvents> ReadEnableEventsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<LedArrayEvents>

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