diff --git a/README.md b/README.md index a6df840..ebba8f0 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,8 @@ import asyncio async def main(): chat = ReplayChatAsync("G1w62uEMZ74", seektime = 1000, callback = func) + while chat.is_alive(): + await asyncio.sleep(3) #other background operation here. #callback function is automatically called periodically.