Timer
Utility class capable of delaying the execution of an IO action for a certain duration
This timer can be reset or canceled at any moment
- Type parameters:
- A
Return type of the scheduled action
- Value parameters:
- action
Action to be executed when timer delay is over
- delay
Wait before executing the action
trait Serializable
trait Product
trait Equals
trait LazyLogging
class Object
trait Matchable
class Any
Value members
Concrete methods
Cancel this timer's countdown, preventing its action from executing
Cancel this timer's countdown, preventing its action from executing