Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.recorder.executor Namespace Reference

Classes

class  DBInterruptibleThreadPoolExecutor
 

Functions

None _worker_with_shutdown_hook (Callable[[], None] shutdown_hook, set[int] recorder_and_worker_thread_ids, *Any args, **Any kwargs)
 

Detailed Description

Database executor helpers.

Function Documentation

◆ _worker_with_shutdown_hook()

None homeassistant.components.recorder.executor._worker_with_shutdown_hook ( Callable[[], None]  shutdown_hook,
set[int]  recorder_and_worker_thread_ids,
*Any  args,
**Any  kwargs 
)
private
Create a worker that calls a function after its finished.

Definition at line 14 of file executor.py.