MCPcopy Create free account
hub / github.com/PCGEx/PCGExtendedToolkit / DeferredReset

Method DeferredReset

Source/PCGExtendedToolkit/Private/PCGExMT.cpp:381–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379 }
380
381 void FTaskManager::DeferredReset(FSimpleCallback&& Callback)
382 {
383 // Reset from outside then callback
384 // Use this to chain/clear heavy workloads
385 UE::Tasks::Launch(
386 TEXT("ResetThen"),
387 [PCGEX_ASYNC_THIS_CAPTURE, Callback]()
388 {
389 PCGEX_ASYNC_THIS
390 This->Reset();
391 Callback();
392 },
393 UE::Tasks::ETaskPriority::High
394 );
395 }
396
397 void FTaskManager::DeferredResumeExecution(FSimpleCallback&& Callback) const
398 {

Callers

nothing calls this directly

Calls 2

LaunchFunction · 0.85
TEXTFunction · 0.85

Tested by

no test coverage detected