Created
August 4, 2023 19:21
-
-
Save GeePawHill/ef093535c6b23e7483b2602f96562186 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TestTimerFactory : TimerFactory, Timer { | |
var tick: (now: Long) -> Unit = {} | |
override fun makeTimer(tick: (now: Long) -> Unit): Timer { | |
this.tick = tick | |
return this | |
} | |
override fun start() { | |
} | |
override fun stop() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment