Skip to content

Commit

Permalink
Rename stop_dispatching to stop_managing in Dispatcher (#115)
Browse files Browse the repository at this point in the history
It's already relfected in the release notes this way
  • Loading branch information
Marenz authored Mar 4, 2025
2 parents 13b35dc + 985bb57 commit f316eb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frequenz/dispatch/_dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit f316eb2

Please sign in to comment.