Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TCircularQueue > API/Runtime/Core/Containers/TCircularQueue/Peek
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/CircularQueue.h |
| Include | #include "Containers/CircularQueue.h" |
const FElementType * Peek() const
Remarks
Returns the oldest item in the queue without removing it.
To be called only from consumer thread.
The return value is only valid until Dequeue, Empty, or the destructor has been called. an FElementType pointer if an item has been returned, nullptr if the queue was empty.