Would 'onComplete'/'onStart' wait to fire upon 'screen refresh'? If not, how can I achieve this?
edit: So I explored this via code. Find below results (asking for block to appear for 100ms). Results imply 'onComplete'/'onStart' do fire upon screen refresh/new frame. Must say, the results make me nervous. Fingers crossed there is a bug in my code.
Here is a codeOpen exploration.
stat_descriptor av stdev min max
start_dur 16.420999999999886 2.655742111278148 7.490000000000009 39.90499999999997
end_dur 93.43405000000013 8.488287613743891 63.65499999999997 101.95000000000073
start_dur, or 'time the code was started' makes sense. It's one refresh, after the item was asked to be placed on screen.
edit2: approx 40 ms between max and min durations. Thats approx 2 refreshes. What you'd expect?