MCPcopy Create free account
hub / github.com/livekit/livekit / newOpsQueueBase

Function newOpsQueueBase

pkg/utils/opsqueue.go:82–90  ·  view source on GitHub ↗
(params OpsQueueParams)

Source from the content-addressed store, hash-verified

80}
81
82func newOpsQueueBase[T opsQueueItem](params OpsQueueParams) *opsQueueBase[T] {
83 o := &opsQueueBase[T]{
84 params: params,
85 wake: make(chan struct{}, 1),
86 doneChan: make(chan struct{}),
87 }
88 o.ops.SetBaseCap(int(min(params.MinSize, 128)))
89 return o
90}
91
92func (oq *opsQueueBase[T]) Start() {
93 oq.lock.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…