import "v.io/x/ref/test/timekeeper"
Package timekeeper implements simulated time against the v.io/x/ref/lib/timekeeper.TimeKeeper interface.
type ManualTime interface { timekeeper.TimeKeeper // AdvanceTime advances the current time by d. AdvanceTime(d time.Duration) // Requests provides a channel where the requested delays for After and // Sleep can be observed. Requests() <-chan time.Duration }
ManualTime is a time keeper that allows control over the advancement of time.
func NewManualTime() ManualTime
NewManualTime constructs a new instance of ManualTime, with current time set at 0.
Package timekeeper imports 4 packages (graph). Updated 2018-08-24. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).