MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / clearTaskCallbacks

Method clearTaskCallbacks

Libraries/Await/Await.cpp:2794–2810  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2792 }
2793 if (registry.activeCount() == 0)
2794 {
2795 finish(operationResult);
2796 }
2797 return Result(true);
2798}
2799
2800void AwaitTaskRegistryWaitAllAwaiter::onTaskCompleted(void* object)
2801{
2802 static_cast<AwaitTaskRegistryWaitAllAwaiter*>(object)->onTaskCompleted();
2803}
2804
2805void AwaitTaskRegistryWaitAllAwaiter::onTaskCompleted()
2806{
2807 if (finished)
2808 {
2809 return;
2810 }
2811
2812 completedTasks++;
2813 if (completedTasks == totalTasks)

Callers

nothing calls this directly

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected