class documentation

class _ShutdownCheck(object):

View In Hierarchy

Logic for Mainloop shutdown.

Method __init__ Initializes this class.
Method CanShutdown Checks whether mainloop can be stopped.
Instance Variable _defer Undocumented
Instance Variable _fn Undocumented
def __init__(self, fn):

Initializes this class.

Parameters
fn:callableFunction returning None if mainloop can be stopped or a duration in seconds after which the function should be called again
See Also
Mainloop.Run
def CanShutdown(self):

Checks whether mainloop can be stopped.

Returns
boolUndocumented
_defer =

Undocumented

_fn =

Undocumented