Returns the duration before the next timer is expected to be activated. This is the
largest amount of time that you can wait before calling
Call this in your own event loop implementation to know how long the current thread can
go to sleep. Note that this does not take currently activate animations into account.
Only go to sleep if