electron-main: Rework the event index initialization and deletion.

This commit is contained in:
Damir Jelić 2019-11-14 16:14:48 +01:00
parent 7147af8f80
commit dd2c210cfb
3 changed files with 24 additions and 7 deletions

View file

@ -149,6 +149,10 @@ class SeshatIndexerManager extends BaseEventIndexManager {
return this._ipcCall('loadCheckpoints');
}
async closeEventIndex(): Promise<> {
return this._ipcCall('closeEventIndex');
}
async deleteEventIndex(): Promise<> {
return this._ipcCall('deleteEventIndex');
}