Skip to main content

Module clock

Module clock 

Source
Expand description

Clock Manipulation for Deterministic Tests (Feature G.6) Clock Manipulation for Deterministic Tests (Feature G.6)

Provides fake clock implementation for controlling time in tests. Enables deterministic testing of time-dependent code.

Structs§

ClockController
Clock controller for page/context
ClockOptions
Options for clock installation
FakeClock
Fake clock for deterministic testing

Enums§

ClockError
Errors that can occur with clock operations
ClockState
Clock state for fake time

Functions§

create_clock
Create a new shared clock

Type Aliases§

Clock
Thread-safe clock handle