| IRequest
|
Module |
|
Header |
/Engine/Source/Developer/DerivedDataCache/Public/DerivedDataRequest.h |
Include |
#include "DerivedDataRequest.h" |
class IRequest
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 | Description | |
---|---|---|
|
~IRequest() |
Name | Description | ||
---|---|---|---|
|
AddRef() |
Add a reference to the request. |
|
|
Cancel() |
Cancel the request and invoke any associated callback. |
|
|
Release() |
Release a reference. The request is deleted when the last reference is released. |
|
|
SetPriority ( |
Set the priority of the request. |
|
|
Wait() |
Block the calling thread until the request is complete. |