Does the position of invalidateLater inside an observer matter? That is, is there a difference between this:
observe({
invalidateLater(100)
compute_long_operation()
})
and this:
observe({
compute_long_operation()
invalidateLater(100)
})
In other words, is the time to invalidation computed when invalidateLater is called or at the end of the observer expression?
I got my answer here: r - Position of invalidateLater in an observer - Stack Overflow. Time to invalidation is computed when invalidateLater is called. Problem solved.
system
Closed
3
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.