Runs a function concurrently over an iterable of items.
Returns:
A list of results corresponding to the input items, in the exact original order.
Methods
run_concurrently
run_concurrently(func: Callable, func: R], items: Iterable, max_workers: Optional) -> List[R]
Runs a function concurrently over an iterable of items.
Returns:
A list of results corresponding to the input items, in the exact original order.
| Parameter | Type | Description |
|---|---|---|
| func | Callable | The function to apply to each item. |
| func | R] | The function to apply to each item. |
| items | Iterable | The iterable of items to process. |
| max_workers | Optional | The configured worker count, or None to resolve via |
Generated with Flude
Copyright © 2026