Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ flush
Method
flush
valdi/src/valdi/android/AndroidDispatchQueue.cpp:84–90 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
82
}
83
84
void AndroidDispatchQueue::flush() {
85
if (!_mainThreadId.has_value()) {
86
_mainThreadId = {std::this_thread::get_id()};
87
}
88
while (_taskQueue.runNextTask()) {
89
}
90
}
91
92
} // namespace ValdiAndroid
Callers
1
scheduleFlush
Method · 0.95
Calls
2
has_value
Method · 0.45
runNextTask
Method · 0.45
Tested by
no test coverage detected