FFileCache::IterateOutstandingChanges

Iterate the number of pending changes to the cache with the specified predicate.

Unreal Engine C++ API Reference > Developer > DirectoryWatcher > FFileCache

References

   
Module DirectoryWatcher
Header /Engine/Source/Developer/DirectoryWatcher/Public/FileCache.h
Include #include "FileCache.h"
Source /Engine/Source/Developer/DirectoryWatcher/Private/FileCache.cpp
void IterateOutstandingChanges
(
    [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< bool(const [FUpdateCacheTransaction](API\Developer\DirectoryWatcher\FUpdateCacheTransaction) &, const [FDateTime](API\Runtime\Core\Misc\FDateTime) &)> InPredicate
) const

Remarks

Iterate the number of pending changes to the cache with the specified predicate. Assumes Tick has been called (and thus, PendingTransactions is up-to-date)

Parameters

Name Description
InIter A predicate to match files against (returning true to continue iteration, false to break), based on: 1) the pending transaction 2) the time the change was detected

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library