Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Tasks > API/Runtime/Core/Tasks/FPipe > API/Runtime/Core/Tasks/FPipe/Launch
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Tasks/Pipe.h |
| Include | #include "Tasks/Pipe.h" |
template<typename TaskBodyType, typename PrerequisitesCollectionType>
TTask< TInvokeResult_T< TaskBodyType > > Launch
&40;
const TCHAR &42; InDebugName,
TaskBodyType && TaskBody,
PrerequisitesCollectionType && Prerequisites,
ETaskPriority Priority,
EExtendedTaskPriority ExtendedPriority
&41;
Remarks
Launches a task in the pipe, with multiple prerequisites that must be completed before the task is scheduled Task instance that can be used to wait for task completion or to obtain the result of task execution
Parameters
| Name | Description |
|---|---|
| InDebugName | helps to identify the task in debugger and profiler |
| TaskBody | a callable with no parameters, usually a lambda but can be also a functor object or a pointer to a function. TaskBody can return results. - task priority, can affect task scheduling once it's passed the pipe |