CommonLibSSE (Parapets fork)
RE::BSScript::LatentPromiseBase Struct Referenceabstract

#include <NativeLatentFunction.h>

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

Public Member Functions

 LatentPromiseBase (IVirtualMachine *a_vm, VMStackID a_stackID)
 
virtual ~LatentPromiseBase ()
 
virtual Variable GetResult ()=0
 
void ReturnFromLatent ()
 
std::suspend_never initial_suspend ()
 
std::suspend_always final_suspend () noexcept
 
void unhandled_exception ()
 

Public Attributes

IVirtualMachinevm
 
VMStackID stackID
 
bool returned { false }
 
std::exception_ptr exception
 

Constructor & Destructor Documentation

◆ LatentPromiseBase()

RE::BSScript::LatentPromiseBase::LatentPromiseBase ( IVirtualMachine a_vm,
VMStackID  a_stackID 
)
inline

◆ ~LatentPromiseBase()

virtual RE::BSScript::LatentPromiseBase::~LatentPromiseBase ( )
inlinevirtual

Member Function Documentation

◆ final_suspend()

std::suspend_always RE::BSScript::LatentPromiseBase::final_suspend ( )
inlinenoexcept

◆ GetResult()

virtual Variable RE::BSScript::LatentPromiseBase::GetResult ( )
pure virtual

◆ initial_suspend()

std::suspend_never RE::BSScript::LatentPromiseBase::initial_suspend ( )
inline

◆ ReturnFromLatent()

void RE::BSScript::LatentPromiseBase::ReturnFromLatent ( )
inline

◆ unhandled_exception()

void RE::BSScript::LatentPromiseBase::unhandled_exception ( )
inline

Member Data Documentation

◆ exception

std::exception_ptr RE::BSScript::LatentPromiseBase::exception

◆ returned

bool RE::BSScript::LatentPromiseBase::returned { false }

◆ stackID

VMStackID RE::BSScript::LatentPromiseBase::stackID

◆ vm

IVirtualMachine* RE::BSScript::LatentPromiseBase::vm

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