xtd 1.0.0
Loading...
Searching...
No Matches
xtd::threading::tasks::wtask< result_t > Class Template Reference
Inheritance diagram for xtd::threading::tasks::wtask< result_t >:
xtd::threading::tasks::task< void >

Classes

struct  promise_type
struct  awaiter

Public Constructors

 wtask (const xtd::func< result_t > &funcfunc)
 wtask (const xtd::func< result_t > &funcfunc, const xtd::threading::cancellation_token &cancellation_token)
 wtask (const xtd::func< result_t, const xtd::any_object & > &funcfunc, const xtd::any_object &state)

Public Operators

auto operator co_await () noexcept

Additional Inherited Members

 task (auto action)
 task (auto action, const xtd::threading::cancellation_token &cancellation_token)
 task (auto action, const xtd::any_object &state)
 task (auto action, const xtd::any_object &state, const xtd::threading::cancellation_token &cancellation_token)
auto operator co_await () noexcept
auto result () const -> const void &
static auto from_result () -> task

The documentation for this class was generated from the following file:
  • xtd.core/include/xtd/threading/tasks/wtask.hpp