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

Method cancelAnimator

valdi/src/valdi/runtime/Views/DeferredViewTransaction.cpp:127–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127void DeferredViewTransaction::cancelAnimator(const Ref<Animator>& animator) {
128 enqueue([=](IViewTransaction& transaction) { transaction.cancelAnimator(animator); });
129}
130
131void DeferredViewTransaction::scheduleOnNextDraw(const Ref<View>& rootView, DispatchFunction callback) {
132 enqueue([rootView, callback = std::move(callback)](IViewTransaction& transaction) mutable {

Callers 1

cancelAnimationMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected