Home Assistant Unofficial Reference 2024.12.1
async_.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.util.async_
 

Functions

Task[_T] homeassistant.util.async_._T (Coroutine[Any, Any, _T] coro, *str|None name=None, AbstractEventLoop|None loop=None)
 
concurrent.futures.Future[_T] homeassistant.util.async_._Ts (AbstractEventLoop loop, Callable[[*_Ts], _T] callback, **_Ts args)
 
bool homeassistant.util.async_.cancelling (Future[Any] task)
 
Any homeassistant.util.async_.gather_with_limited_concurrency (int limit, *Any tasks, bool return_exceptions=False)
 
list[TimerHandle] homeassistant.util.async_.get_scheduled_timer_handles (AbstractEventLoop loop)
 
None homeassistant.util.async_.shutdown_run_callback_threadsafe (AbstractEventLoop loop)
 

Variables

 homeassistant.util.async_._LOGGER = logging.getLogger(__name__)
 
string homeassistant.util.async_._SHUTDOWN_RUN_CALLBACK_THREADSAFE = "_shutdown_run_callback_threadsafe"