Light sleep interface.
Interval at which to check.
Time to sleep in total.
Function to execute to check.
True to keep working, false to stop.
Function to execute to when finished sleeping.
Generated using TypeDoc
Light sleep interface.