panel.io.threads module#

class panel.io.threads.StoppableThread(io_loop, **kwargs)[source]#

Bases: Thread

Thread class with a stop() method.

Methods

run()

Method representing the thread's activity.

stop

run() None[source]#

Method representing the thread’s activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.