Table of Contents

Namespace Virtufin.Base.Clock

Classes

Metronome

Helper factory methods for metronome-based clocks. Callers can write Metronome.CreateDateTimeWallClock(TimeSpan.FromSeconds(1)) without specifying a type argument.

Metronome<T>

The primitive regular-tick clock source. Emits a T value at a fixed Interval. Each emission corresponds to a tick: T values can carry the wall-time (e.g. a DateTimeOffset) or a sequence number projected to any T the consumer needs.