I'm just testing out the distributed async support and seem to have hit a bug:
from tornado.ioloop import IOLoop
from dask.distributed import Client
client = Client()
async def f():
print('A')
future = client.submit(lambda x: x + 1, 10)
print('B')
result = await client.gather(future, asynchronous=True)
print('C')
return result
res = IOLoop().run_sync(f)
print(res)
client.close()
results in:
I'm on win64 running:
python 3.6.5
distributed 1.22.0+9.gdb758d0f
dask 0.18.0
I'm just testing out the distributed async support and seem to have hit a bug:
results in:
I'm on win64 running: