Created
September 20, 2022 16:16
-
-
Save mturoci/a14491523b9bb5b0f7c3180563def249 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
q.client.event = Event() | |
with concurrent.futures.ProcessPoolExecutor() as pool: | |
await q.exec(pool, blocking_function, q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment