MCPcopy Create free account
hub / github.com/TanStack/db / emitIndexRemoved

Method emitIndexRemoved

packages/db/src/collection/events.ts:186–192  ·  view source on GitHub ↗
(index: CollectionIndexMetadata)

Source from the content-addressed store, hash-verified

184 }
185
186 emitIndexRemoved(index: CollectionIndexMetadata) {
187 this.emit(`index:removed`, {
188 type: `index:removed`,
189 collection: this.collection,
190 index,
191 })
192 }
193
194 cleanup() {
195 this.clearListeners()

Callers 1

removeIndexMethod · 0.80

Calls 1

emitMethod · 0.95

Tested by

no test coverage detected