Trees | Indices | Help |
|
---|
|
object --+ | SerializedInvocation
A method wrapper to serialize calls to a deferred method. If a second call occurs while the first call is still executing, it will not begin until the first call has finished. If multiple calls queue up, they will be collapsed into a single call.
The effect is that the underlying method is guaranteed to be called at least once after every call to the wrapper.
Note that this cannot be used as a decorator on a method, as it will
serialize invocations across all class instances. Tests can monkey-patch
the _quiet
method to be notified when all planned
invocations are complete.
Instance Methods | |||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Mar 25 19:40:36 2012 | http://epydoc.sourceforge.net |