"""Do a slow job in 3 steps and report progress along the way.""" for step in range(1, 4): await asyncio.sleep(1) # pretend each step takes 1 second # Notification 1: a log message. await ...