Skip to content

Commit 985bb57

Browse files
committed
Rename stop_dispatching to stop_managing in Dispatcher
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent 13b35dc commit 985bb57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/frequenz/dispatch/_dispatcher.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ async def start_managing(
281281
282282
You can await the `Dispatcher` instance to block until all types
283283
registered with `start_managing()` are stopped using
284-
`stop_dispatching()`
284+
`stop_managing()`
285285
286286
"Merging" means that when multiple dispatches are active at the same time,
287287
the intervals are merged into one.
@@ -330,7 +330,7 @@ def id_identity(dispatch: Dispatch) -> int:
330330
self._actor_dispatchers[dispatch_type] = dispatcher
331331
dispatcher.start()
332332

333-
async def stop_dispatching(self, dispatch_type: str) -> None:
333+
async def stop_managing(self, dispatch_type: str) -> None:
334334
"""Stop managing actors for a given dispatch type.
335335
336336
Args:

0 commit comments

Comments
 (0)