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

Method flushNow

valdi/src/valdi/runtime/Views/ViewTransactionScope.cpp:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void ViewTransactionScope::flushNow(bool sync) {
57 if (_next != nullptr) {
58 _next->flushNow(sync);
59 }
60
61 if (_transaction != nullptr) {
62 _transaction->flush(sync);
63 }
64}
65
66void ViewTransactionScope::setLayoutDidBecomeDirty(bool layoutDidBecomeDirty) {
67 transaction();

Callers 1

measureMethod · 0.80

Calls 1

flushMethod · 0.65

Tested by

no test coverage detected