Known subclasses: kiwi.tasklet.WaitForCall, kiwi.tasklet.WaitForIdle, kiwi.tasklet.WaitForIO, kiwi.tasklet.WaitForMessages, kiwi.tasklet.WaitForProcess, kiwi.tasklet.WaitForSignal, kiwi.tasklet.WaitForTasklet, kiwi.tasklet.WaitForTimeout

Base class for all wait-able condition objects.

WaitConditions are used in a yield statement inside tasklets body
for specifying what event(s) it should wait for in order to
receive control once more.
Method __init__ Abstract base class, do not call directly
Method arm Prepare the wait condition to receive events.
Method disarm Stop the wait condition from receiving events.
def arm(self, tasklet):
Prepare the wait condition to receive events.

When a wait condition receives the event it is waiting for, it
should call the method
L{wait_condition_fired<Tasklet.wait_condition_fired>} of the
tasklet with the wait condition as argument.  The method
returns True or False; if it returns True, it means the
WaitCondition object must "rearm" itself (continue to monitor
events), otherwise it should disarm.

@param tasklet: the tasklet instance the wait condition is
  to be associated with.
@note: this method normally should not be called directly
  by the programmer.
def disarm(self):
Stop the wait condition from receiving events.

@note: this method normally should not be called by the
programmer.
API Documentation for Kiwi, generated by pydoctor at 2019-08-08 02:24:42.