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

Method waitFor

Libraries/Await/Await.cpp:1106–1109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1104AwaitTaskSpawnAwaiter AwaitEventLoop::spawnAndWait(AwaitTask& task) { return AwaitTaskSpawnAwaiter(*this, task); }
1105
1106AwaitTaskTimeoutAwaiter AwaitEventLoop::waitFor(AwaitTask& task, TimeMs timeout, AwaitTimeoutResult* outResult)
1107{
1108 return AwaitTaskTimeoutAwaiter(*this, task, timeout, outResult);
1109}
1110
1111AwaitLoopWorkAwaiter AwaitEventLoop::loopWork(ThreadPool& threadPool, Function<Result()> work)
1112{

Callers 6

waitForExistingChildMethod · 0.80
waitForCompletedChildMethod · 0.80
waitForTimedOutChildMethod · 0.80
boundedMaintenanceFunction · 0.80
deadlineWorkflowFunction · 0.80

Calls 1

Tested by 4

waitForExistingChildMethod · 0.64
waitForCompletedChildMethod · 0.64
waitForTimedOutChildMethod · 0.64