Functions | |
| Callable[[_FuncType[_T]], _FuncType[_T]] | _T (Any data_key) |
| Callable[[_FuncType[_T]], _FuncType[_T]] | _T (HassKey[_T] data_key) |
| Callable[[_FuncType[_T]], _FuncType[_T]] | _T (str data_key) |
Helper to help coordinating calls.
|
private |
Decorate a function that should be called once per instance. Result will be cached and simultaneous calls will be handled.
Definition at line 27 of file singleton.py.
|
private |
Definition at line 18 of file singleton.py.
|
private |
Definition at line 24 of file singleton.py.