Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ Close
Method
Close
agent/reconnectingpty/buffered.go:238–241 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
236
}
237
238
func
(rpty *bufferedReconnectingPTY) Close(err error) {
239
// The closing state change will be handled by the lifecycle.
240
rpty.state.setState(StateClosing, err)
241
}
Callers
2
newBuffered
Function · 0.95
lifecycle
Method · 0.95
Calls
1
setState
Method · 0.80
Tested by
no test coverage detected