Orbdale Terrain · OrbdaleTerrainCore module · member function
Native::FJoinStreamReader::
TakeDrain
ExperimentalWhether the caller owes a Drain: bytes arrived for the store and no drain is under way.
Declaration
bool TakeDrain();- Header
#include "Native/Net/NetJoin.h"- Module
PublicDependencyModuleNames.Add("OrbdaleTerrainCore");in your module’s Build.cs.- Stability
- Experimental: supported, may change in a minor version, with a changelog line.
- Thread
- Feed, TakeDrain, TakeCacheFill and ResidentBytes on one thread (the game thread); Drain on any thread, one call at a time; the file is thread-safe, for the page jobs. (the rule of FJoinStreamReader)
Description
True once per drain due, so at most one runs at a time; always false without a store. Ask after every Feed, also one that failed.
Note.
Feed's thread.