Scheduled Run

Adds the passed method to the queue to be executed at the beginning of current tick (~1 sec).

<void> LViS.Run.next(<Function> method, <Mixed> context);

You should use this method whenever you need to synchronise some action with internal timer, instead of using setTimeout(). This method will ensure that LViS API data related to time (e.g. state change, event/element remaining time update, etc.) and your code all execute together.