Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/msgbyte/tailchat
/ onReconnect
Method
onReconnect
client/shared/api/socket.ts:110–112 ·
view source on GitHub ↗
* 断线重连后触发
(cb: () => void)
Source
from the content-addressed store, hash-verified
108
* 断线重连后触发
109
*/
110
onReconnect(cb: () => void) {
111
this.socket.io.on(
'reconnect'
, cb);
112
}
113
114
/**
115
* 断开连接
Callers
1
setupRedux
Function · 0.80
Calls
1
on
Method · 0.80
Tested by
no test coverage detected