effect-io-ai

Package: effect
Module: TestClock

TestClock.TestClock.State

Represents the state tracked by a TestClock, including the current millisecond timestamp and the sleeps scheduled to resume when the clock reaches their target time.

Signature

export interface State {
    readonly timestamp: number
    readonly sleeps: ReadonlyArray<[number, Latch.Latch]>
  }

Source

Since v4.0.0