Skip to content

Asynchronous scatter #7154

Answered by jsignell
YarShev asked this question in Q&A
Feb 2, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

You can await it just like a regular coroutine:

future = await c.scatter(1, asynchronous=True)

You might be interested in reading more about async: https://docs.python.org/3/library/asyncio-task.html

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@YarShev
Comment options

@jsignell
Comment options

@YarShev
Comment options

Answer selected by YarShev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants