Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/baetyl/baetyl
/ OnMessage
Method
OnMessage
sync/msg_handler.go:13–15 ·
view source on GitHub ↗
(msg interface{})
Source
from the content-addressed store, hash-verified
11
}
12
13
func
(h *handler) OnMessage(msg
interface
{}) error {
14
return
h.link.Send(msg.(*v1.Message))
15
}
16
17
func
(h *handler) OnTimeout() error {
18
msg := &v1.Message{
Callers
1
TestMsgHandler
Function · 0.95
Calls
1
Send
Method · 0.65
Tested by
1
TestMsgHandler
Function · 0.76