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

Class ManagedCallable

source code

A callable managed by an exchange.

Instance Methods [hide private]
 
__init__(self, callable, exchange)
Wrap the given 'callable', using the given 'exchange' to monitor the channels created for communications between this and the created processes.
source code
 
__call__(self, *args, **kw)
Invoke the callable with the supplied arguments.
source code
Method Details [hide private]

__init__(self, callable, exchange)
(Constructor)

source code 

Wrap the given 'callable', using the given 'exchange' to monitor the
channels created for communications between this and the created
processes. Note that the 'callable' must be parallel-aware (that is,
have a 'channel' parameter). Use the MakeParallel class to wrap other
kinds of callable objects.