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

Method closeLateFeeds

db/changes.go:1345–1349  ·  view source on GitHub ↗

Closes set of feeds. Invoked on changes termination

(ctx context.Context, feeds map[channels.ID]*lateSequenceFeed)

Source from the content-addressed store, hash-verified

1343
1344// Closes set of feeds. Invoked on changes termination
1345func (db *DatabaseCollectionWithUser) closeLateFeeds(ctx context.Context, feeds map[channels.ID]*lateSequenceFeed) {
1346 for _, feed := range feeds {
1347 db.closeLateFeed(ctx, feed)
1348 }
1349}
1350
1351// Generate the changes for a specific list of doc ID's, only documents accessible to the user will generate
1352// results. Only supports non-continuous changes, closes buffered channel before returning.

Callers 1

Calls 1

closeLateFeedMethod · 0.95

Tested by

no test coverage detected