module documentation

A pool for background workers, actors, and jobs.

Class BackgroundWorker This class provides the functionality for background worker or a single actor instance.
Class BackgroundWorkerPool Pool and factory for background workers and actors.
Class Job Job class that extends the Thread class with pause, resume, stop functionalities, and lists of running and paused jobs for reuse.
Class WorkerEntry Internal class for a worker entry in the priority queue.
Function _utcTime Return the current time's timestamp, but relative to UTC.
Variable _sleepTimeResolution Sleep time resolution for high latency in the background worker.
Variable _sleepTimeResolution10 Sleep time resolution for less high latency in the background worker.
def _utcTime() -> float: (source)

Return the current time's timestamp, but relative to UTC.

Returns
floatFloat UTC-based timestamp
_sleepTimeResolution: float = (source)

Sleep time resolution for high latency in the background worker.

_sleepTimeResolution10 = (source)

Sleep time resolution for less high latency in the background worker.