Navigation
API > API/Developer > API/Developer/DerivedDataCache
Interface to an asynchronous request that can be prioritized or canceled.
Use IRequestOwner, typically FRequestOwner, to reference requests between its Begin and End.
Requests typically invoke a callback on completion, and must not return from Cancel or Wait on any thread until any associated callbacks have finished executing. This property is crucial to allowing requests to be chained or nested by creating new requests from within callbacks.
| Name | IRequest |
| Type | class |
| Header File | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataRequest.h |
| Include Path | #include "DerivedDataRequest.h" |
Syntax
class IRequest
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IRequest() |
DerivedDataRequest.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddRef() |
Add a reference to the request. | DerivedDataRequest.h | |
void Cancel () |
Cancel the request and invoke any associated callback. | DerivedDataRequest.h | |
void Release() |
Release a reference. The request is deleted when the last reference is released. | DerivedDataRequest.h | |
void SetPriority
(
EPriority Priority |
Set the priority of the request. | DerivedDataRequest.h | |
void Wait () |
Block the calling thread until the request is complete. | DerivedDataRequest.h |