Table of Contents

Interface ITimerSystem<T>

Namespace
SodaFlow.Time
Assembly
SodaFlow.dll

A source of time, and of streams which fire at times drawn from it.

[PublicAPI]
public interface ITimerSystem<T> where T : IComparable<T>

Type Parameters

T

The type used to express a point in time, such as DateTime for SystemClockTimerSystem or double for SecondsTimerSystem.

Extension Methods

Remarks

TimerSystem<T> is the implementation in this library. SystemClockTimerSystem and SecondsTimerSystem are two that this library supplies, over the system clock and over the count of seconds. Alarms from At(Cell<Maybe<T>>) get to the graph in a transaction of their own, thus other code only has to listen to receive them beyond listening.

Properties

Time

Gets a behavior giving the current clock time.

Methods

At(Cell<Maybe<T>>)

A timer that fires at the specified time.