Fix README
This commit is contained in:
@@ -99,6 +99,8 @@ import asyncio
|
|||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
chat = ReplayChatAsync("G1w62uEMZ74", seektime = 1000, callback = func)
|
chat = ReplayChatAsync("G1w62uEMZ74", seektime = 1000, callback = func)
|
||||||
|
while chat.is_alive():
|
||||||
|
await asyncio.sleep(3)
|
||||||
#other background operation here.
|
#other background operation here.
|
||||||
|
|
||||||
#callback function is automatically called periodically.
|
#callback function is automatically called periodically.
|
||||||
|
|||||||
Reference in New Issue
Block a user