Table of Contents

Method ReadTimestampedDigitalOutputToggleAsync

Namespace
Harp.Hobgoblin
Assembly
Harp.Hobgoblin.dll

ReadTimestampedDigitalOutputToggleAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DigitalOutputToggle register.

public Task<Timestamped<DigitalOutputs>> ReadTimestampedDigitalOutputToggleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<DigitalOutputs>>

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