☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Periodic JS callback

Community Support
Sebastien_Roche
Sebastien_Roche

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

⌁   Link to post
Bryan
Bryan

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.

⌁   Link to post

End of archived discussion · Replies are disabled