Skip to content

Commit 851159a

Browse files
committed
Fix wrong example code
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent 40456d6 commit 851159a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/frequenz/dispatch/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ class Dispatcher:
3232
async def run():
3333
dispatcher = Dispatcher(API_CONNECTION_INFO)
3434
dispatcher.start() # this will start the actor
35-
dispatch_arrived = dispatcher.new_dispatches().new_receiver()
36-
dispatch_ready = dispatcher.ready_dispatches().new_receiver()
35+
dispatch_arrived = dispatcher.updated_dispatches()
36+
dispatch_ready = dispatcher.ready_dispatches()
3737
```
3838
"""
3939

0 commit comments

Comments
 (0)