Debouncing of JS Events
Author: volkerjaenischCreated Mar 12, 2017Updated Aug 22, 2026
Labelstype: feature
Events fired by the Bokeh JS-Layer run straight to the Python handlers.
So if the user scrolls the wheel a lot of requests are burdening the Python routines handling requests.
A common scheme to deal with that is debouncing. Debouncing has to happen at the issuer-side to become effective. On the responser side debouncing will fail due to the time lag between sender and recipient.
Volker
Source: bokeh/bokeh