An object that waits for messages to arrive
Method __init__ Creates an object that waits for a set of messages to arrive.
Method arm Overrides WaitCondition.arm
Method disarm Overrides WaitCondition.disarm
def __init__(self, accept=None, defer=None, discard=None):
Creates an object that waits for a set of messages to
arrive.

@note: unlike other wait conditions, when a message
  is received, a L{Message} instance is returned by L{get_event()},
  not the L{WaitForMessages} instance.
@param accept: message name or names to accept (receive) in
  the current state
@type accept: string or sequence of string
@param defer: message name or names to defer (queue) in the
  current state
@type defer: string or sequence of string
@param discard: message name or names to discard (drop) in the
  current state
@type discard: string or sequence of string
def arm(self, tasklet):
Overrides WaitCondition.arm
def disarm(self):
Overrides WaitCondition.disarm
API Documentation for Kiwi, generated by pydoctor at 2019-08-08 02:24:42.