MCPcopy Create free account
hub / github.com/Snapchat/Valdi / runNextTask

Method runNextTask

valdi_core/src/valdi_core/cpp/Threading/TaskQueue.cpp:246–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246bool TaskQueue::runNextTask() {
247 return runNextTask(std::chrono::steady_clock::now());
248}
249
250bool TaskQueue::runNextTask(std::chrono::steady_clock::time_point maxTime) {
251 auto shouldRun = true;

Callers 1

handlerMethod · 0.45

Calls 3

DispatchFunctionClass · 0.85
notifyAllMethod · 0.80
nowFunction · 0.50

Tested by

no test coverage detected