Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
IAsyncResult.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
#include "mc/deps/core/threading/AsyncBase.h"
5
#include "mc/deps/core/threading/IAsyncGetResult.h"
6
7
namespace
Bedrock::Threading {
8
9
template
<
typename
T>
10
class
IAsyncResult
:
public
Bedrock::Threading::AsyncBase
,
public
Bedrock::Threading::IAsyncGetResult
<T> {
11
public
:
12
using
Handle = std::shared_ptr<Bedrock::Threading::IAsyncResult<T>>;
13
using
CompletionHandler = std::function<void(
Bedrock::Threading::IAsyncResult<T>
const
&)>;
14
15
virtual
void
addOnComplete(Bedrock::Threading::IAsyncResult<T>::CompletionHandler) = 0;
16
};
17
18
}
// namespace Bedrock::Threading
Bedrock::Threading::AsyncBase
Definition
AsyncBase.h:7
Bedrock::Threading::IAsyncGetResult
Definition
IAsyncGetResult.h:9
Bedrock::Threading::IAsyncResult
Definition
IAsyncResult.h:10
src
mc
deps
core
threading
IAsyncResult.h
Generated on
for LeviLamina by
1.16.1