Skip to content

decorators.thread

sikvelsigma edited this page Aug 18, 2022 · 7 revisions

Contains:

  • decorator repeat_timer

Sets a separate thread that will call a function every set amount of seconds. Returns a Queue-like object that will let you retrieve accumulated results


Usage:

from pyuseful.decorators.thread import repeat_timer

Clone this wiki locally