-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to support asynchronous functions? #30
Comments
I think Antoine's setup in https://github.com/dask/dask-benchmarks/blob/master/distributed/benchmarks/comm.py#L16 may work. The function to be timed is a normal callable def time_tcp_connect(self):
self._time_connect('tcp://127.0.0.1') which calls a callable that calls run_sync def _time_connect(self, address):
run_sync(self.loop, partial(self._main, address)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Much of the distributed codebase should probably be tested with
async def
functions. Does anyone have experience here? A quick web search doesn't list much.The text was updated successfully, but these errors were encountered: