Iros
 
Loading...
Searching...
No Matches
di::execution::lazy_ns::PromiseBase< Self, T > Class Template Reference

#include <di/execution/coroutine/lazy.h>

Inheritance diagram for di::execution::lazy_ns::PromiseBase< Self, T >:
[legend]

Public Member Functions

 PromiseBase ()=default
 
auto operator new (usize size) noexcept -> void *
 
void operator delete (void *ptr, usize size) noexcept
 
auto initial_suspend () noexcept -> SuspendAlways
 
auto final_suspend () noexcept
 
template<concepts::ConvertibleTo< T > U>
void return_value (U &&value)
 
void return_value (types::Void)
 
template<typename E>
requires (concepts::ConstructibleFrom<vocab::Error, E>)
void return_value (vocab::Unexpected< E > &&error)
 
void return_value (Stopped)
 
void unhandled_exception ()
 
- Public Member Functions inherited from di::execution::WithAwaitableSenders< Self >
void set_continuation (CoroutineHandle< OtherPromise > handle)
 
auto continuation () const -> CoroutineHandle<>
 
auto unhandled_stopped () -> CoroutineHandle<>
 
auto unhandled_error (Error error) -> CoroutineHandle<>
 
auto await_transform (Value &&value) -> decltype(auto)
 
void set_continuation (CoroutineHandle< OtherPromise > handle)
 
auto continuation () const -> CoroutineHandle<>
 
auto unhandled_stopped () -> CoroutineHandle<>
 
auto unhandled_error (Error error) -> CoroutineHandle<>
 
auto await_transform (Value &&value) -> decltype(auto)
 

Friends

template<typename>
class Lazy
 

Constructor & Destructor Documentation

◆ PromiseBase()

template<typename Self, typename T>
di::execution::lazy_ns::PromiseBase< Self, T >::PromiseBase ( )
default

Member Function Documentation

◆ final_suspend()

template<typename Self, typename T>
auto di::execution::lazy_ns::PromiseBase< Self, T >::final_suspend ( )
inlinenoexcept

◆ initial_suspend()

template<typename Self, typename T>
auto di::execution::lazy_ns::PromiseBase< Self, T >::initial_suspend ( ) -> SuspendAlways
inlinenoexcept

◆ operator delete()

template<typename Self, typename T>
void di::execution::lazy_ns::PromiseBase< Self, T >::operator delete ( void * ptr,
usize size )
inlinenoexcept

◆ operator new()

template<typename Self, typename T>
auto di::execution::lazy_ns::PromiseBase< Self, T >::operator new ( usize size) -> void*
inlinenoexcept

◆ return_value() [1/4]

template<typename Self, typename T>
void di::execution::lazy_ns::PromiseBase< Self, T >::return_value ( Stopped )
inline

◆ return_value() [2/4]

template<typename Self, typename T>
void di::execution::lazy_ns::PromiseBase< Self, T >::return_value ( types::Void )
inline

◆ return_value() [3/4]

template<typename Self, typename T>
template<concepts::ConvertibleTo< T > U>
void di::execution::lazy_ns::PromiseBase< Self, T >::return_value ( U && value)
inline

◆ return_value() [4/4]

template<typename Self, typename T>
template<typename E>
requires (concepts::ConstructibleFrom<vocab::Error, E>)
void di::execution::lazy_ns::PromiseBase< Self, T >::return_value ( vocab::Unexpected< E > && error)
inline

◆ unhandled_exception()

template<typename Self, typename T>
void di::execution::lazy_ns::PromiseBase< Self, T >::unhandled_exception ( )
inline

Friends And Related Symbol Documentation

◆ Lazy

template<typename Self, typename T>
template<typename>
friend class Lazy
friend

The documentation for this class was generated from the following file: