MCPcopy Create free account
hub / github.com/CovenantSQL/CovenantSQL / isStopped

Method isStopped

sqlchain/observer/worker.go:160–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158}
159
160func (w *subscribeWorker) isStopped() bool {
161 if w.stopCh == nil {
162 return true
163 }
164
165 select {
166 case <-w.stopCh:
167 return true
168 default:
169 return false
170 }
171}

Callers 2

startMethod · 0.95
stopMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected