Skip to content

Commit

Permalink
chore: remove unused getIndexState method from DataStore (#948)
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn authored Oct 30, 2024
1 parent 97be4b9 commit c0c8361
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/datastore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ datastore.on('index-state', ({ current, remaining, entriesPerSecond }) => {
// show state to user that indexing is happening
}
})

const { current, remaining, entriesPerSecond } = datastore.getIndexState()
```

## API docs
Expand Down
4 changes: 0 additions & 4 deletions src/datastore/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@ export class DataStore extends TypedEmitter {
return this.#writerCore
}

getIndexState() {
return this.#coreIndexer.state
}

/**
*
* @param {MultiCoreIndexer.Entry<'binary'>[]} entries
Expand Down

0 comments on commit c0c8361

Please sign in to comment.