Table of Contents

Method Create

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

Create<T>(T, double)

Creates a new timestamped payload value.

public static Timestamped<T> Create<T>(T value, double seconds)

Parameters

value T

The value of the timestamped payload.

seconds double

The timestamp of the payload, in fractional seconds.

Returns

Timestamped<T>

A new instance of the Timestamped<T> class with the specified payload value and timestamp.

Type Parameters

T

The type of the value in the timestamped payload.