ClockWrapper

class ClockWrapper(val clock: Clock)

This class simply wraps a plain Clock.

All it does is provide an identity to Clock: this is needed because StateFlow values are always conflated, but each time the clock changes we emit an identical value of Clock.System.

Constructors

Link copied to clipboard
constructor(clock: Clock)

Properties

Link copied to clipboard