Adjust eventloop -> event loop spelling (#89931)

eventloop -> event loop spelling
This commit is contained in:
Jesse Moody 2023-03-19 16:53:21 -04:00 committed by GitHub
parent 557b9c7d51
commit d7de23fa65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -752,7 +752,7 @@ class ConfigEntry:
target: Coroutine[Any, Any, _R],
name: str | None = None,
) -> 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.

View File

@ -516,7 +516,7 @@ class HomeAssistant:
def async_create_task(
self, target: Coroutine[Any, Any, _R], name: str | None = None
) -> 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
integration, use the create task methods on the config entry instead.
@ -534,7 +534,7 @@ class HomeAssistant:
target: Coroutine[Any, Any, _R],
name: str,
) -> 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
automatically cancelled on shutdown. If you are using this in your