Skip to content

octoprint.vendor.sockjs.tornado.periodic#

Callback #

Bases: object

Custom implementation of the Tornado.Callback with support of callback timeout delays.

__init__(callback, callback_time, io_loop) #

Constructor.

callback Callback function callback_time Callback timeout value (in milliseconds) io_loop io_loop instance

calculate_next_run() #

Caltulate next scheduled run

delay() #

Delay callback

start(timeout=None) #

Start callbacks

stop() #

Stop callbacks

Back to top