Skip to content

Commit

Permalink
Fixed the hello world example
Browse files Browse the repository at this point in the history
  • Loading branch information
microft authored and taybin committed Nov 30, 2021
1 parent 3caf810 commit 02afc3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/hello_world.py
Expand Up @@ -18,7 +18,7 @@ async def print_greetings(greetings):
@app.timer(5)
async def produce():
for i in range(100):
await print_greetings.send(value=f'hello {i}')
await greetings_topic.send(value=f'hello {i}')

if __name__ == '__main__':
app.main()

0 comments on commit 02afc3c

Please sign in to comment.