Provide classes to represent callback code that can be associate with Bokeh Documents and Sessions.
NextTickCallback
Represent a callback to execute on the next IOLoop “tick”.
IOLoop
__init__
document (Document) –
callback (callable) –
id (str, optional) –
PeriodicCallback
Represent a callback to execute periodically on the IOLoop at a specified periodic time interval.
period (int) –
period
The period time (in milliseconds) that this callback should repeat execution at.
SessionCallback
A base class for callback objects associated with Bokeh Documents and Sessions.
callback
The callable that this callback wraps.
id
A unique ID for this callback
TimeoutCallback
Represent a callback to execute once on the IOLoop after a specified time interval passes.
timeout (int) –
timeout
The timeout (in milliseconds) that the callback should run after.