Public Member Functions | |
| None | __init__ (self, Callable[_P, _R_co] target, str|None name=None, *bool|None cancel_on_shutdown=None, HassJobType|None job_type=None) |
| str | __repr__ (self) |
| bool|None | cancel_on_shutdown (self) |
| HassJobType | job_type (self) |
Public Attributes | |
| name | |
Private Attributes | |
| _cancel_on_shutdown | |
Static Private Attributes | |
| __slots__ | |
Represent a job to be run later. We check the callable type in advance so we can avoid checking it every time we run the job.
| None homeassistant.core.HassJob.__init__ | ( | self, | |
| Callable[_P, _R_co] | target, | ||
| str | None | name = None, |
||
| *bool | None | cancel_on_shutdown = None, |
||
| HassJobType | None | job_type = None |
||
| ) |
| str homeassistant.core.HassJob.__repr__ | ( | self | ) |
| bool | None homeassistant.core.HassJob.cancel_on_shutdown | ( | self | ) |
| HassJobType homeassistant.core.HassJob.job_type | ( | self | ) |