Skip to content
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

Local cluster async #1798

Merged
merged 2 commits into from
Mar 2, 2018
Merged

Local cluster async #1798

merged 2 commits into from
Mar 2, 2018

Conversation

mrocklin
Copy link
Member

@mrocklin mrocklin commented Mar 2, 2018

Support additional async protocols in LocalCluster. This matches how Client works today.

cluster = yield LocalCluster(asynchronous=True)

or

async with LocalCluster(asynchronous=True) as cluster:

Builds on #1797

Also define LocalCluster.__await__

This copies the pattern set out in Client

    cluster = yield LocalCluster(asynchronous=True)
@mrocklin mrocklin merged commit 627fdbb into dask:master Mar 2, 2018
@mrocklin mrocklin deleted the local-cluster-async branch March 2, 2018 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant