MCPcopy Index your code
hub / github.com/coder/coder / Close

Method Close

coderd/workspaceupdates.go:118–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116}
117
118func (s *sub) Close() error {
119 s.cancelFn()
120
121 if s.psCancelFn != nil {
122 s.psCancelFn()
123 }
124
125 close(s.ch)
126 return nil
127}
128
129func (s *sub) Updates() <-chan *proto.WorkspaceUpdate {
130 return s.ch

Callers 1

SubscribeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected