##// END OF EJS Templates
split serialize step of Session.send into separate method...
split serialize step of Session.send into separate method This allows other objects to call it, and build serialized messages without sending.

File last commit:

r3690:aafdf2be
r3872:21b0f4cd
Show More
task1.py
12 lines | 188 B | text/x-python | PythonLexer
from IPython.parallel import Client
rc = Client()
v = rc.load_balanced_view()
rc[:]['d'] = 30
def task(a):
return a, 10*d, a*10*d
ar = v.apply(task, 5)
print "a, b, c: ", ar.get()