MCPcopy Index your code
hub / github.com/pywebio/PyWebIO / next_client_event

Method next_client_event

pywebio/session/base.py:99–101  ·  view source on GitHub ↗

获取来自客户端的下一个事件。阻塞调用,若在等待过程中,会话被用户关闭,则抛出SessionClosedException异常

(self)

Source from the content-addressed store, hash-verified

97 raise NotImplementedError
98
99 def next_client_event(self) -> dict:
100 """获取来自客户端的下一个事件。阻塞调用,若在等待过程中,会话被用户关闭,则抛出SessionClosedException异常"""
101 raise NotImplementedError
102
103 def send_client_event(self, event):
104 raise NotImplementedError

Callers 1

next_client_eventFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected