Provides support for creating and scheduling Task objects.
- Namespace
- xtd::threading::tasks
- Library
- xtd.core
|
| static auto | invoke (const xtd::array< xtd::action<> > &actions) -> void |
| | Executes each of the provided actions, possibly in parallel.
|
| |
|
template<class collection_t> |
| static auto | invoke (const collection_t &actions) -> void |
| |
|
template<typename ... args_t> |
| static auto | invoke (args_t... args) -> void |
| |
◆ invoke()
| static auto xtd::threading::tasks::parallel::invoke |
( |
const xtd::array< xtd::action<> > & | actions | ) |
-> void |
|
inlinestatic |
Executes each of the provided actions, possibly in parallel.
- Library
- Switch.Core
- Parameters
-
| An | array of Action to execute. |
- Examples
- This example demonstrates how to use the Invokemethod with other methods, anonymous delegates, and lambda expressions.
The documentation for this class was generated from the following file: