Table of Contents

Method ReadTimestampSecondsAsync

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

ReadTimestampSecondsAsync(CancellationToken)

Asynchronously reads the integral part of the system timestamp, in seconds.

public Task<uint> ReadTimestampSecondsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<uint>

A task that represents the asynchronous read operation. The Result property contains the integral part of the system timestamp, in seconds.