IRequestOwner::LaunchTask

Launches a task that executes the task body when scheduled.

Unreal Engine C++ API Reference > Developer > DerivedDataCache > IRequestOwner

References

   
Module DerivedDataCache
Header /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataRequestOwner.h
Include #include "DerivedDataRequestOwner.h"
Source /Engine/Source/Developer/DerivedDataCache/Private/DerivedDataRequestOwner.cpp
void LaunchTask
(
    const TCHAR * DebugName,
    [TUniqueFunction](API\Runtime\Core\Templates\TUniqueFunction)< void()> && TaskBody
)

Remarks

Launches a task that executes the task body when scheduled.

The task inherits the current priority of this request owner. The task is launched as a new request within this request owner.

The debug name is not copied and must remain valid for the duration of the task.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library