Module pprocess :: Class MakeParallel
[hide private]
[frames] | no frames]

Class MakeParallel

source code

Known Subclasses:

A wrapper around functions making them able to communicate results.

Instance Methods [hide private]
 
__init__(self, callable)
Initialise the wrapper with the given 'callable'.
source code
 
__call__(self, channel, *args, **kw)
Invoke the callable and return its result via the given 'channel'.
source code
Method Details [hide private]

__init__(self, callable)
(Constructor)

source code 

Initialise the wrapper with the given 'callable'. This object will then
be able to accept a 'channel' parameter when invoked, and to forward the
result of the given 'callable' via the channel provided back to the
invoking process.