bokeh.server.callbacks — Anaconda Enterprise 4.4 documentation

Anaconda Enterprise: Documentation

# bokeh.server.callbacks

Provide classes to represent callback code that can be associate with Bokeh Documents and Sessions.

class `bokeh.server.callbacks.` `NextTickCallback`(document, callback, id=None)

  Represent a callback to execute on the next IOLoop “tick”.

class `bokeh.server.callbacks.` `PeriodicCallback`(document, callback, period, id=None)

  Represent a callback to execute periodically on the IOLoop at a specified periodic time interval.

  `period`

    The period time (in milliseconds) that this callback should repeat execution at.

class `bokeh.server.callbacks.` `SessionCallback`(document, callback, id=None)

  A base class for callback objects associated with Bokeh Documents and Sessions.

  `remove`()

    Remove this session callback its document.

  `callback`

    The callable that this callback wraps.

  `id`

    A unique ID for this callback

class `bokeh.server.callbacks.` `TimeoutCallback`(document, callback, timeout, id=None)

  Represent a callback to execute once on the IOLoop after a specifeed time interval passes.

  `timeout`

    The timeout (in milliseconds) that the callback should run after.