class documentation

class Quit: (source)

View In Hierarchy

A flag representing whether a worker has been quit.

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

Create a Quit un-set.

def set(self): (source)

Set the flag if it has not been set.

RaisesAlreadyQuitIf it has been set.
def check(self): (source)

Check if the flag has been set.

RaisesAlreadyQuitIf it has been set.
API Documentation for Twisted, generated by pydoctor 21.2.0 at 2021-02-28 21:00:42.