I noticed when autorotation mode enabled and run the wait() action, the autorotation was suspended for a while and then continued rotation.
This stop takes 1 second if waittime=1
When using delayedcall() delay is not observed, but I need just wait() action.
Note - The user interface and all other actions are blocked during the waiting. That means the next action will be executed when the current action was done. The oninterrupt action can be used to make this action interrupt able by the user.
"
Perhaps you want to do something else that seems similar. Depending on what that is exactly, will determine the right method.
Because in the text area displays the old text from the previous text prompts (lasting a very short time).
Apparently browser can not redraw so quickly.
By the way on slower machines it is more noticeable.
However, I already have some solutions.
When called text tip I use set(autorotate.waittime, 0);
And prescribe event - onmousedown="set(autorotate.waittime, 2)"; to restore waittime.
As a result, stop lasts: 0.1 + 0 = 0.1 sec instead of 0.1 + 2 = 2.1 sec