FAsyncReadRequestNull

[IAsyncReadRequest](API\Runtime\Core\Async\IAsyncReadRequest) returned from [FAsyncReadFileHandleNull](API\Runtime\Core\Async\FAsyncReadFileHandleNull); guaranteed to be a cancelled readrequest with no size or bytes when the Callback is called.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

IAsyncReadRequest

FAsyncReadRequestNull

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Async/AsyncFileHandleNull.h

Include

#include "Async/AsyncFileHandleNull.h"

Syntax

class FAsyncReadRequestNull : public IAsyncReadRequest

Remarks

IAsyncReadRequest returned from FAsyncReadFileHandleNull; guaranteed to be a cancelled readrequest with no size or bytes when the Callback is called.

Constructors

Name Description

Public function

FAsyncReadRequestNull

(
    FAsyncFileCallBack* InCallback,
    bool bInSizeRequest
)

Overridden from IAsyncReadRequest

Name Description

Protected function Virtual

void

 

CancelImpl()

Cancel the request. This is a non-blocking async call and so does not ensure completion!

Protected function Virtual

void

 

WaitCompletionImpl

(
    float TimeLimitSeconds
)

Waits for the request to complete, but not longer than the given time limit