Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ Close
Method
Close
coderd/workspaceconnwatcher/watcher.go:148–155 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
146
}
147
148
func
(w *Watcher) Close() {
149
w.mu.Lock()
150
w.closed = true
151
w.mu.Unlock()
152
153
w.cancel()
154
w.wg.Wait()
155
}
156
157
type
updater
struct
{
158
db database.Store
Callers
1
New
Function · 0.95
Calls
4
Wait
Method · 0.65
Lock
Method · 0.45
Unlock
Method · 0.45
cancel
Method · 0.45
Tested by
no test coverage detected