@gjoseph92 and @jrbourbeau this is my best-effort attempt at this. It would be preferable to add tests to exercise this, but afar's testing with distributed is pretty limited. We may need to borrow some scaffolding from distributed to make this easier. In the mean time, users are the main source of testing :)
I use weakrefs for the futures and the client so that they can be cleaned up ASAP.
Also, cancel on KeyboardInterrupt. Fixes #15
@gjoseph92 and @jrbourbeau this is my best-effort attempt at this. It would be preferable to add tests to exercise this, but
afar
's testing withdistributed
is pretty limited. We may need to borrow some scaffolding fromdistributed
to make this easier. In the mean time, users are the main source of testing :)I use weakrefs for the futures and the client so that they can be cleaned up ASAP.