Skip to content

octoprint.vendor.sockjs.tornado.periodic#

Callback(callback, callback_time, io_loop) #

Bases: object

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

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