We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c1ea09 commit cd8c330Copy full SHA for cd8c330
README.md
@@ -20,7 +20,7 @@ Suppose you want ot run some CPU bound function in parallel.
20
Create a `Runner` and call the function in parallel using asyncio's `gather` or `TaskGroup`:
21
```py
22
with Runner(workers=5).start() as runner:
23
- await asyncio.gather(runner.run(cpu_bound_function(5), cpu_bound_function(5)))
+ await asyncio.gather(runner.run(cpu_bound_function, 5), runner.run(cpu_bound_function, 5))
24
```
25
26
### Restrictions
0 commit comments