1. Home
  2. Docs
  3. Documentation
  4. Javascript Utils
  5. Javascript – operation Timer

Javascript – operation Timer

OperationTimer class

This is wrapper to call functions not often then given time.

It can be usefull when we conenct some functions for example using OnMouseMove event, at this case when we send userMessage each time event will be triggered, all messages will be queue, and after some of multiple called applciation will not repond at the way we want.


How it works:

[optimize output image]

Each line has diffrent delay, The last position is updated the least. Example below at setDelayForFunction() block

Functions and properties: