class documentation

class Quit: (source)

Constructor: Quit()

View In Hierarchy

A flag representing whether a worker has been quit.

Method __init__ Create a Quit un-set.
Method check Check if the flag has been set.
Method set Set the flag if it has not been set.
Instance Variable isSet Whether this flag is set.
def __init__(self): (source)

Create a Quit un-set.

def check(self): (source)

Check if the flag has been set.

Raises
AlreadyQuitIf it has been set.
def set(self): (source)

Set the flag if it has not been set.

Raises
AlreadyQuitIf it has been set.

Whether this flag is set.