Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/userguide/sensors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ in ``app.monitor``:
.. sourcecode:: python

@app.agent(app.topic('topic'))
def mytask(events):
async def mytask(events):
async for event in events:
# emit how many events are being processed every second.
print(app.monitor.events_s)
Expand Down