Navigation
API > API/Runtime > API/Runtime/Core
This class extends the inherited context (see private members for what the inherited context is) to cover async execution. Is intended to be used as a base class, if the inherited context is compiled out it takes 0 space
| Name | FInheritedContextBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Async/InheritedContext.h |
| Include Path | #include "Async/InheritedContext.h" |
Syntax
class FInheritedContextBase
Derived Classes
FInheritedContextBase derived class hierarchy
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CaptureInheritedContext() |
Must be called in the inherited context, e.g. on launching an async task | Async/InheritedContext.h | |
FInheritedContextScope RestoreInheritedContext() |
Must be called where the inherited context should be restored, e.g. at the start of an async task execution | Async/InheritedContext.h |