Package src :: Module pyflow :: Class ExpWaiter
[hide private]
[frames] | no frames]

Class ExpWaiter

source code


Convenience object to setup exponentially increasing wait/polling times

Instance Methods [hide private]
 
__init__(self, startSec, factor, maxSec, event=None)
optionally allow an event to interrupt wait cycle
source code
 
reset(self) source code
 
wait(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, startSec, factor, maxSec, event=None)
(Constructor)

source code 

optionally allow an event to interrupt wait cycle

Overrides: object.__init__