diff --git a/src/frequenz/dispatch/_dispatcher.py b/src/frequenz/dispatch/_dispatcher.py index 05be8d4..f8d1cef 100644 --- a/src/frequenz/dispatch/_dispatcher.py +++ b/src/frequenz/dispatch/_dispatcher.py @@ -281,7 +281,7 @@ async def start_managing( You can await the `Dispatcher` instance to block until all types registered with `start_managing()` are stopped using - `stop_dispatching()` + `stop_managing()` "Merging" means that when multiple dispatches are active at the same time, the intervals are merged into one. @@ -330,7 +330,7 @@ def id_identity(dispatch: Dispatch) -> int: self._actor_dispatchers[dispatch_type] = dispatcher dispatcher.start() - async def stop_dispatching(self, dispatch_type: str) -> None: + async def stop_managing(self, dispatch_type: str) -> None: """Stop managing actors for a given dispatch type. Args: