Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/DepletableMpmcQueue.h |
| Include | #include "Containers/DepletableMpmcQueue.h" |
namespace UE
{
template<typename F>
void UE&58;&58;Deplete
&40;
const F & Consumer
&41;
}
Remarks
Takes all items from the queue atomically and then consumes them.
Parameters
| Name | Description |
|---|---|
| Consumer | a functor with signature AnyReturnType (T Value) |