MCPcopy Create free account
hub / github.com/shidenggui/easyquant / __process

Method __process

easyquant/event_engine.py:41–47  ·  view source on GitHub ↗

事件处理

(self, event)

Source from the content-addressed store, hash-verified

39 pass
40
41 def __process(self, event):
42 """事件处理"""
43 # 检查该事件是否有对应的处理函数
44 if event.event_type in self.__handlers:
45 # 若存在,则按顺序将时间传递给处理函数执行
46 for handler in self.__handlers[event.event_type]:
47 handler(event)
48
49 def start(self):
50 """引擎启动"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected