MCPcopy Create free account
hub / github.com/SeeFlowerX/stackplz / Serve

Method Serve

user/event_processor/processer.go:37–44  ·  view source on GitHub ↗

Write event 处理器读取事件

()

Source from the content-addressed store, hash-verified

35
36// Write event 处理器读取事件
37func (this *EventProcessor) Serve() {
38 for {
39 select {
40 case e := <-this.incoming:
41 this.dispatch(e)
42 }
43 }
44}
45
46func (this *EventProcessor) dispatch(map_e event.IEventStruct) {
47 // 如果需要dump那就直接写到文件中去

Callers 1

RunMethod · 0.80

Calls 1

dispatchMethod · 0.95

Tested by

no test coverage detected