| 734 | _context->withAttribution([&]() { |
| 735 | auto viewTransationScope = beginViewTransaction(); |
| 736 | fn(); |
| 737 | endViewTransaction(viewTransationScope, /* layoutDidBecomeDirty */ false); |
| 738 | }); |
| 739 | } |
| 740 | |
| 741 | bool ViewNodeTree::tryWithLock(const DispatchFunction& fn, const std::chrono::steady_clock::time_point& deadline) { |
| 742 | TrackedLock guard(_mutex, deadline); |
| 743 | if (!guard.owns()) { |
| 744 | return false; |
| 745 | } |
nothing calls this directly
no test coverage detected