LeviLamina
Loading...
Searching...
No Matches
AsyncCommandExecutor Class Reference
Inheritance diagram for AsyncCommandExecutor:

Classes

struct  OperationData

Public Types

enum class  State : int { Idle = 0 , InProgress = 1 }
using ExternalOperationCallback = ::std::function<void(::std::shared_ptr<::AsyncCommandExecutor::OperationData>)>
using Operation = ::std::function<::Bedrock::Result<void>()>
using Result = ::nonstd::expected<void, ::Bedrock::ErrorInfo<::std::error_code>>
using ResultOperationCallback

Public Member Functions

MCFOLD void * $ctor ()
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)
MCFOLD void $dtor ()

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 80, ::Bedrock::Threading::MutexmStateLock
::ll::TypedStorage< 4, 4, ::AsyncCommandExecutor::State > mCurrentState
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::TaskGroup > > mAsyncTaskGroup
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock

Member Typedef Documentation

◆ ResultOperationCallback

using AsyncCommandExecutor::ResultOperationCallback
Initial value:
::std::function<void(::nonstd::expected<void, ::Bedrock::ErrorInfo<::std::error_code>>&)>
Definition ErrorInfo.h:9

Member Function Documentation

◆ $vftable()

MCAPI void ** Bedrock::EnableNonOwnerReferences::$vftable ( )
staticinherited
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: