rateLimit Variable Property

A variable can set a rateLimit property that limits how often the onValueChanged event is fired.

Specify the rateLimit property, with a timeout property in milliseconds, to limit how often the onValueChanged event is fired on that variable. For example:

"pageVar": {
  "type": "string",
  "onValueChanged": {...},
  "rateLimit": {
    "timeout": 1000 // in milliseconds
  }
}

The default is to wait for the timeout to expire after all changes stop before firing the change event.