A lightweight Python module for running a repetitive task on a single dedicated thread. Currently at version 1.4, with infrequent releases.
pip install taskthreadVerified import paths — ran on the pinned version, not inferred.
Create a TaskThread that executes my_task every 2 seconds, start it, then stop after 10 seconds.
Ensure interval is in seconds (e.g., 0.5 for 500ms).
Design tasks to complete quickly or add your own synchronization.
Use 'from taskthread import TaskThread'.
Ensure first argument is a function or callable object.
No dependency data recorded yet.