Files
2025-05-18 13:04:45 +08:00

13 lines
281 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "Promise.h"
auto PromiseUtil::OnThread(ENamedThreads::Type ThreadType)
{
return cti::make_continuable<void>([ThreadType](auto&& Promise)
{
AsyncTask(ThreadType, [&Promise]()
{
//promise.set_empty();
});
});
}