|
iText 9.7.0 API
|
Utility class for running actions in parallel using multiple threads. More...
Static Public Member Functions |
|
| static IList< T > | RunActionsParallel< T > (IList< Func< T >> actions, int numberOfThreads) |
| Runs a list of Callable actions in parallel using a fixed thread pool. More... |
|
Utility class for running actions in parallel using multiple threads.
Utility class for running actions in parallel using multiple threads. This class provides a method to execute a list of Callable actions in parallel and collect their results.
|
inlinestatic |
Runs a list of Callable actions in parallel using a fixed thread pool.
| actions | the list of Callable actions to be executed |
| numberOfThreads | the number of threads to use for parallel execution |
| T | the type of the result returned by the Callable actions |