Performs an operation at the specified time.
Performs an operation at the specified time. Interrupting the Future will cancel the scheduled timer task, if not too late.
Performs an operation after the specified delay.
Performs an operation after the specified delay. Interrupting the Future will cancel the scheduled timer task, if not too late.
Pay attention that ticking frozen time forward more than 1x duration will result in only one invocation of your task.