shade icon indicating copy to clipboard operation
shade copied to clipboard

Better handling of high latency

Open ScottPeterJohnson opened this issue 6 years ago • 1 comments

  • [x] Add a testing parameter to add delay between events being received
  • [ ] Add a few helpful builtins for e.g. disabling a button until its callback has been processed
  • [ ] Possibly something similar to Kweb's immediate mode callbacks?

ScottPeterJohnson avatar Dec 10 '19 07:12 ScottPeterJohnson

Added testing delay parameter, and also consistent mapping of callbacks under a component to the same callback ID, so long as they share the same render position (DOM tree + event name). This should help translate events that are lost between updates at high latency.

ScottPeterJohnson avatar Jan 17 '20 21:01 ScottPeterJohnson