MCPcopy
hub / github.com/baetyl/baetyl / OnTimeout

Method OnTimeout

sync/msg_handler.go:17–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17func (h *handler) OnTimeout() error {
18 msg := &v1.Message{
19 Kind: v1.MessageData,
20 Metadata: map[string]string{
21 "success": "false",
22 "msg": "sync timeout",
23 },
24 }
25 return h.link.Send(msg)
26}

Callers 1

TestMsgHandlerFunction · 0.95

Calls 1

SendMethod · 0.65

Tested by 1

TestMsgHandlerFunction · 0.76