Page 1 of 1

Debounce in ExtendScript?

Posted: August 23rd, 2019, 2:09 am
by jgate
Hi there,

Is there a debounce function in ExtendScript for AE? or anything similar?
https://davidwalsh.name/javascript-debounce-function

I cant use Sleep because it hangs the main thread. Reason is i'm using a Slider and changing it values trigger a complex operation, so a debounce like feature will let me trigger it only when user stops changing its values.

Thanks