go-ethereum/common/mclock
Felix Lange b1c3010bf2
common/mclock: clean up AfterFunc support (#20054)
This change adds tests for the virtual clock and aligns the interface
with the time package by renaming Cancel to Stop. It also removes the
binary search from Stop because it complicates the code unnecessarily.
2019-09-16 11:16:30 +02:00
..
mclock.go common/mclock: clean up AfterFunc support (#20054) 2019-09-16 11:16:30 +02:00
simclock_test.go common/mclock: clean up AfterFunc support (#20054) 2019-09-16 11:16:30 +02:00
simclock.go common/mclock: clean up AfterFunc support (#20054) 2019-09-16 11:16:30 +02:00