(index: CollectionIndexMetadata)
| 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() |