MCPcopy
hub / github.com/livekit/livekit / Start

Method Start

pkg/utils/opsqueue.go:92–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90}
91
92func (oq *opsQueueBase[T]) Start() {
93 oq.lock.Lock()
94 if oq.isStarted {
95 oq.lock.Unlock()
96 return
97 }
98
99 oq.isStarted = true
100 oq.lock.Unlock()
101
102 go oq.process()
103}
104
105func (oq *opsQueueBase[T]) Stop() <-chan struct{} {
106 oq.lock.Lock()

Callers

nothing calls this directly

Calls 1

processMethod · 0.95

Tested by

no test coverage detected