An implementation of the asynchronous waiting in Clock using a ScheduledExecutorService.
An implementation of the synchronous waiting in Clock using Thread.sleep().
An implementation of the query methods in Clock using system time.
The default clock based on system time, using Thread.sleep() for synchronous waiting and a global,
single-threaded ScheduledExecutorService for asynchronous waiting.
Returns the implicit clock from the caller's context.
Primary factory and resolver for instances of
Clock.