class documentation

class twisted._threads._memory.MemoryWorker: (source)

View In Hierarchy

An IWorker that queues work for later performance.

Method __init__ Create a MemoryWorker.
Method do Queue some work for to perform later; see createMemoryWorker.
Method quit Quit this worker.
Instance Variable _quit a flag indicating
Instance Variable _pending Undocumented
_quit = (source)
a flag indicating
(type: Quit)
def __init__(self, pending=list): (source)

Create a MemoryWorker.

_pending = (source)

Undocumented

def do(self, work): (source)

Queue some work for to perform later; see createMemoryWorker.

ParametersworkThe work to perform.
def quit(self): (source)

Quit this worker.

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.