Provides support for creating and scheduling Task objects.
- Namespace
- xtd::threading::tasks
- Library
- xtd.core
|
|
template<xtd::integer integer_t> |
| static auto | for_ (integer_t from_inclusive, integer_t to_exclusive, auto &&body) -> void |
|
template<xtd::integer integer_t> |
| static auto | for_ (integer_t from_inclusive, integer_t to_exclusive, auto &&body, const xtd::threading::cancellation_token &cancellation_token) -> void |
|
template<xtd::integer integer_t> |
| static auto | for_async (integer_t from_inclusive, integer_t to_exclusive, auto &&body) -> xtd::threading::tasks::task<> |
|
template<xtd::integer integer_t> |
| static auto | for_async (integer_t from_inclusive, integer_t to_exclusive, auto &&body, const xtd::threading::cancellation_token &cancellation_token) -> xtd::threading::tasks::task<> |
|
template<xtd::iterable source_t> |
| static auto | for_each (source_t &&source, auto &&body) -> void |
|
template<xtd::iterable source_t> |
| static auto | for_each (source_t &&source, auto &&body, const xtd::threading::cancellation_token &cancellation_token) -> void |
| template<xtd::iterable source_t> |
| static auto | for_each_async (source_t &&source, auto &&body) -> xtd::threading::tasks::task<> |
| | Executes a for-each operation on an xtd::iterable in which iterations may run in parallel.
|
| template<xtd::iterable source_t> |
| static auto | for_each_async (source_t &&source, auto &&body, const xtd::threading::cancellation_token &cancellation_token) -> xtd::threading::tasks::task<> |
| | Executes a for-each operation on an xtd::iterable in which iterations may run in parallel.
|
| static auto | invoke (xtd::array< xtd::action<> > &&actions) -> void |
| | Executes each of the provided actions, possibly in parallel.
|
| template<typename collection_t> |
| static auto | invoke (collection_t &&actions) -> void |
| | Executes each of the provided actions, possibly in parallel.
|
| template<typename ... args_t> |
| static auto | invoke (args_t &&... args) -> void |
| | Executes each of the provided actions, possibly in parallel.
|
|
static auto | invoke_async (xtd::array< xtd::action<> > &&actions) -> xtd::array< xtd::threading::tasks::task<> > |
|
template<typename collection_t> |
| static auto | invoke_async (collection_t &&actions) -> xtd::array< xtd::threading::tasks::task<> > |
|
template<typename ... args_t> |
| static auto | invoke_async (args_t &&... args) -> xtd::array< xtd::threading::tasks::task<> > |