CommonLibSSE (Parapets fork)
RE::BSScript::LatentPromise< void > Struct Referencefinal

#include <NativeLatentFunction.h>

Inheritance diagram for RE::BSScript::LatentPromise< void >:
RE::BSScript::LatentPromiseBase

Public Member Functions

template<class... Args>
 LatentPromise (IVirtualMachine *a_vm, VMStackID a_stackID, Args...)
 
Variable GetResult () override
 
LatentResult get_return_object ()
 
void return_void ()
 
- Public Member Functions inherited from RE::BSScript::LatentPromiseBase
 LatentPromiseBase (IVirtualMachine *a_vm, VMStackID a_stackID)
 
virtual ~LatentPromiseBase ()
 
void ReturnFromLatent ()
 
std::suspend_never initial_suspend ()
 
std::suspend_always final_suspend () noexcept
 
void unhandled_exception ()
 

Additional Inherited Members

- Public Attributes inherited from RE::BSScript::LatentPromiseBase
IVirtualMachinevm
 
VMStackID stackID
 
bool returned { false }
 
std::exception_ptr exception
 

Constructor & Destructor Documentation

◆ LatentPromise()

template<class... Args>
RE::BSScript::LatentPromise< void >::LatentPromise ( IVirtualMachine a_vm,
VMStackID  a_stackID,
Args...   
)
inline

Member Function Documentation

◆ get_return_object()

LatentResult RE::BSScript::LatentPromise< void >::get_return_object ( )
inline

◆ GetResult()

Variable RE::BSScript::LatentPromise< void >::GetResult ( )
inlineoverridevirtual

◆ return_void()

void RE::BSScript::LatentPromise< void >::return_void ( )
inline

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