MCPcopy 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
84void 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

scheduleFlushMethod · 0.95

Calls 2

has_valueMethod · 0.45
runNextTaskMethod · 0.45

Tested by

no test coverage detected