KacheClock typedef

KacheClock = DateTime Function()

Supplies the current time to cache operations.

Inject a deterministic implementation in tests. Returned values may use any time zone; Kache normalizes them to UTC before storing or comparing.

Implementation

typedef KacheClock = DateTime Function();