![]() |
LeechCraft 0.6.70-19214-g121e5318a7
Modular cross-platform feature rich live environment.
|
#include "task.h"
Public Member Functions | |
| auto | GetAddress () |
| Task | get_return_object () |
| std::suspend_never | initial_suspend () const noexcept |
| auto | final_suspend () noexcept |
| void | unhandled_exception () |
| void | IncRef () |
| void | DecRef () |
| Public Member Functions inherited from LC::Util::detail::PromiseRet< R > | |
| template<typename U = R> | |
| void | return_value (this auto &&self, U &&val) |
| Public Member Functions inherited from LC::Util::detail::DefaultAwaiterHandler< Extensions< promise_type >... > | |
| void | AddAwaiter (std::coroutine_handle<> handle) |
| void | RemoveAwaiter (std::coroutine_handle<>) noexcept |
| auto | GetAwaiters (this auto &&self) noexcept |
Additional Inherited Members | |
| Public Types inherited from LC::Util::detail::PromiseRet< R > | |
| using | ReturnType_t = R |
| Public Types inherited from LC::Util::detail::PromiseBase | |
| enum class | CoroState : std::uint8_t { Running , Suspended , Finished } |
| Static Public Member Functions inherited from LC::Util::detail::DefaultLockingHandler< Extensions< promise_type >... > | |
| static void | lock () |
| static void | unlock () |
| Static Public Member Functions inherited from LC::Util::detail::DefaultResumeValueHandler< Extensions< promise_type >... > | |
| static R && | ResumeValue (R &ret) noexcept |
| Public Attributes inherited from LC::Util::detail::PromiseRet< R > | |
| std::optional< R > | Ret_ |
| Public Attributes inherited from LC::Util::detail::PromiseBase | |
| std::atomic< size_t > | Refs_ = 1 |
| std::exception_ptr | Exception_ {} |
| CoroState | State_ = CoroState::Running |
| Public Attributes inherited from LC::Util::detail::DefaultAwaiterHandler< Extensions< promise_type >... > | |
| std::atomic< std::coroutine_handle<> > | Continuation_ |
| Static Public Attributes inherited from LC::Util::detail::PromiseRet< R > | |
| static constexpr bool | IsVoid = false |
|
inline |
Definition at line 198 of file task.h.
References LC::Util::detail::PromiseBase::Refs_.
|
inlinenoexcept |
Definition at line 182 of file task.h.
References LC::Util::detail::PromiseBase::Finished, and LC::Util::detail::PromiseBase::State_.
|
inline |
Definition at line 175 of file task.h.
References LC::Util::Task< R, Extensions >::Task().
|
inline |
|
inline |
Definition at line 193 of file task.h.
References LC::Util::detail::PromiseBase::Refs_.
|
inlinenoexcept |
|
inline |
Definition at line 188 of file task.h.
References LC::Util::detail::PromiseBase::Exception_.