This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pywebio import * | |
| from pywebio.output import * | |
| from pywebio.input import * | |
| import asyncio | |
| from pywebio.session import defer_call, info as session_info, run_async | |
| MAX_MESSAGES_CNT = 10 ** 4 | |
| chat_msgs = [] # (name, msg) | |
| online_users = set() |