/Engine/Source/Runtime/Core/Public/Containers/ConsumeAllMpmcQueue.h
Take all items off the Queue atomically and consumes them in LIFO order returnsEConsumeAllMpmcQueueResult::WasEmptyif the Queue was empty orEConsumeAllMpmcQueueResult::HadItemsif there were items to consume
template<typename F> [EConsumeAllMpmcQueueResult](API\Runtime\Core\Containers\UE__EConsumeAllMpmcQueueResult) ConsumeAllLifo ( const F & Consumer )