mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 18:27:09 +00:00
Adjust eventloop -> event loop spelling (#89931)
eventloop -> event loop spelling
This commit is contained in:
parent
557b9c7d51
commit
d7de23fa65
@ -752,7 +752,7 @@ class ConfigEntry:
|
|||||||
target: Coroutine[Any, Any, _R],
|
target: Coroutine[Any, Any, _R],
|
||||||
name: str | None = None,
|
name: str | None = None,
|
||||||
) -> asyncio.Task[_R]:
|
) -> asyncio.Task[_R]:
|
||||||
"""Create a task from within the eventloop.
|
"""Create a task from within the event loop.
|
||||||
|
|
||||||
This method must be run in the event loop.
|
This method must be run in the event loop.
|
||||||
|
|
||||||
|
@ -516,7 +516,7 @@ class HomeAssistant:
|
|||||||
def async_create_task(
|
def async_create_task(
|
||||||
self, target: Coroutine[Any, Any, _R], name: str | None = None
|
self, target: Coroutine[Any, Any, _R], name: str | None = None
|
||||||
) -> asyncio.Task[_R]:
|
) -> asyncio.Task[_R]:
|
||||||
"""Create a task from within the eventloop.
|
"""Create a task from within the event loop.
|
||||||
|
|
||||||
This method must be run in the event loop. If you are using this in your
|
This method must be run in the event loop. If you are using this in your
|
||||||
integration, use the create task methods on the config entry instead.
|
integration, use the create task methods on the config entry instead.
|
||||||
@ -534,7 +534,7 @@ class HomeAssistant:
|
|||||||
target: Coroutine[Any, Any, _R],
|
target: Coroutine[Any, Any, _R],
|
||||||
name: str,
|
name: str,
|
||||||
) -> asyncio.Task[_R]:
|
) -> asyncio.Task[_R]:
|
||||||
"""Create a task from within the eventloop.
|
"""Create a task from within the event loop.
|
||||||
|
|
||||||
This is a background task which will not block startup and will be
|
This is a background task which will not block startup and will be
|
||||||
automatically cancelled on shutdown. If you are using this in your
|
automatically cancelled on shutdown. If you are using this in your
|
||||||
|
Loading…
x
Reference in New Issue
Block a user