Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Bedrock::Threading::IAsyncResult< T > Class Template Referenceabstract
Inheritance diagram for Bedrock::Threading::IAsyncResult< T >:

Public Types

using Handle = std::shared_ptr<Bedrock::Threading::IAsyncResult<T>>
using CompletionHandler = std::function<void(Bedrock::Threading::IAsyncResult<T> const&)>

Public Member Functions

virtual void addOnComplete (Bedrock::Threading::IAsyncResult< T >::CompletionHandler)=0
virtual::Bedrock::Threading::AsyncBase::DiagnosticInfo getAsyncDiagnosticInfo () const
MCAPI::Bedrock::Threading::AsyncBase::DiagnosticInfo $getAsyncDiagnosticInfo () const
virtual T getResult () const =0
virtual::Bedrock::Threading::AsyncStatus getStatus () const =0
virtual::std::error_code getError () const =0
virtual void cancel ()=0

Member Function Documentation

◆ $getAsyncDiagnosticInfo()

MCAPI::Bedrock::Threading::AsyncBase::DiagnosticInfo Bedrock::Threading::AsyncBase::$getAsyncDiagnosticInfo ( ) const
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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