MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / AddAndWait

Method AddAndWait

db/util_testing.go:136–139  ·  view source on GitHub ↗
(count int)

Source from the content-addressed store, hash-verified

134}
135
136func (sw *StatWaiter) AddAndWait(count int) {
137 sw.targetCount += int64(count)
138 sw.Wait()
139}
140
141// Wait uses backoff retry for up to ~33s
142func (sw *StatWaiter) Wait() {

Calls 1

WaitMethod · 0.95