Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TSpscQueue
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/SpscQueue.h |
| Include | #include "Containers/SpscQueue.h" |
ElementType &42; Peek&40;&41; const
Remarks
As there can be only one consumer, a consumer can safely "peek" the tail of the queue. returns a pointer to the tail if the queue is not empty, nullptr otherwise there's no overload with TOptional as it doesn't support references