diff --git a/src/datastore/README.md b/src/datastore/README.md index 8a2182b75..cc1f2a841 100644 --- a/src/datastore/README.md +++ b/src/datastore/README.md @@ -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 diff --git a/src/datastore/index.js b/src/datastore/index.js index 43712654f..990146122 100644 --- a/src/datastore/index.js +++ b/src/datastore/index.js @@ -91,10 +91,6 @@ export class DataStore extends TypedEmitter { return this.#writerCore } - getIndexState() { - return this.#coreIndexer.state - } - /** * * @param {MultiCoreIndexer.Entry<'binary'>[]} entries