«
class documentation

class ContextualWorker(proxyForInterface(IWorker, '_realWorker')):

Constructor: ContextualWorker(realWorker, **ctx)

View In Hierarchy

A worker implementation that supplies a context.

Method __init__ Create with a real worker and a context.
Method do Perform the given work with the context given to __init__.
Instance Variable _context Undocumented
Instance Variable _realWorker Undocumented
def __init__(self, realWorker: IWorker, **ctx: object):

Create with a real worker and a context.

def do(self, work: Callable[[], object]):

Perform the given work with the context given to __init__.

Parameters
work:Callable[[], object]the work to pass on to the real worker.
_context =

Undocumented

_realWorker =

Undocumented