Navigation
Unreal Engine C++ API Reference > Runtime > Core > Tasks
Inheritance Hierarchy
- FTaskHandle
- FTaskEvent
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Tasks/Task.h |
Include | #include "Tasks/Task.h" |
Syntax
class FTaskEvent : public UE::Tasks::Private::FTaskHandle
Remarks
A synchronisation primitive, a recommended substitution of `FEvent_ for signalling between tasks. If used as a task prerequisite or a nested task, it doesn't block a worker thread. Optionally can use "busy waiting" - executing tasks while waiting.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FTaskEvent
(
const TCHAR* DebugName |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddPrerequisites
(
const PrerequisitesType& Prerequisites |
All prerequisites must be added before triggering the event |
![]() |
void | Trigger () |