Method ReadExpansionBoardAsync
- Namespace
- Harp.OutputExpander
- Assembly
- Harp.OutputExpander.dll
ReadExpansionBoardAsync(CancellationToken)
Asynchronously reads the contents of the ExpansionBoard register.
public Task<ExpansionBoardType> ReadExpansionBoardAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<ExpansionBoardType>
A task that represents the asynchronous read operation. The Result property contains the register payload.