Navigation
API > API/Runtime > API/Runtime/Core
A lightweight construct that limits the concurrency of tasks pushed into it.
This class supports being destroyed before the tasks it contains are finished.
| Name | FTaskConcurrencyLimiter |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Tasks/TaskConcurrencyLimiter.h |
| Include Path | #include "Tasks/TaskConcurrencyLimiter.h" |
Syntax
class FTaskConcurrencyLimiter
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTaskConcurrencyLimiter
(
uint32 MaxConcurrency, |
Constructor. | Tasks/TaskConcurrencyLimiter.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Pimpl | TSharedRef< TaskConcurrencyLimiter_Private::FPimpl > | Tasks/TaskConcurrencyLimiter.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Push
(
const TCHAR* DebugName, |
Push a new task. | Tasks/TaskConcurrencyLimiter.h | |
| Waits for task's completion with timeout. | Tasks/TaskConcurrencyLimiter.h |