Hello, is there an existing way to add a periodic JS callback for static files?
for example I would imagine having a callback that is repeated every 60 seconds would look like:
p = figure() p.periodic_js_event(frequency=60,callback=CustomJS(...))
Thanks
No, periodic callbacks are managed by the Tornado event loop that drives the Bokeh server operation. You could make standard JS setTimeout, etc. calls inside a CustomJS but that’s something you would manage on your own.
setTimeout
CustomJS
Thank you, I set up a 1 time use button that disappears after starting a setInterval() function.