Navigation
API > API/Runtime > API/Runtime/CoreUObject
Flush the async loader in a non-blocking manner.
| Name | FAsyncLoadingFlushContext |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Serialization/AsyncLoadingFlushContext.h |
| Include Path | #include "Serialization/AsyncLoadingFlushContext.h" |
Syntax
class FAsyncLoadingFlushContext : private FNoncopyable
Inheritance Hierarchy
- FNoncopyable → FAsyncLoadingFlushContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Serialization/AsyncLoadingFlushContext.h | |||
FAsyncLoadingFlushContext
(
const FString& Context |
Serialization/AsyncLoadingFlushContext.h | ||
FAsyncLoadingFlushContext
(
FString&& Context |
Serialization/AsyncLoadingFlushContext.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FAsyncLoadingFlushContext() |
Serialization/AsyncLoadingFlushContext.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| LoadingFlushWarnIntervalSeconds | float | How often to warn while waiting for async loading to complete. | Serialization/AsyncLoadingFlushContext.h |
| NextId | int32 | Increment ids so each instance has a unique id. | Serialization/AsyncLoadingFlushContext.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Context | FString | Context for logging | Serialization/AsyncLoadingFlushContext.h | |
| Id | int32 | Unique id for context. | Serialization/AsyncLoadingFlushContext.h | |
| LoadingCompleteCheckDelegateHandle | FTSTicker::FDelegateHandle | Tick delegates. | Serialization/AsyncLoadingFlushContext.h | |
| OnFlushCompleteDelegate | FOnAsyncLoadingFlushComplete | Delegate to be fired on flush. | Serialization/AsyncLoadingFlushContext.h | |
| StartTime | double | Record event timing for logging. | Serialization/AsyncLoadingFlushContext.h | |
| WaitingWarnDelegateHandle | FTSTicker::FDelegateHandle | Serialization/AsyncLoadingFlushContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Flush
(
const FOnAsyncLoadingFlushComplete& OnFlushComplete |
Serialization/AsyncLoadingFlushContext.h | ||
int32 GetId() |
Serialization/AsyncLoadingFlushContext.h |