Interface IIndexedDBBackend

interface IIndexedDBBackend {
    clearDatabase(): Promise<void>;
    clearOutOfBandMembers(roomId): Promise<void>;
    connect(onClose?): Promise<void>;
    destroy(): Promise<void>;
    getClientOptions(): Promise<undefined | IStoredClientOpts>;
    getNextBatchToken(): Promise<string>;
    getOldestToDeviceBatch(): Promise<null | IndexedToDeviceBatch>;
    getOutOfBandMembers(roomId): Promise<null | IStateEventWithRoomId[]>;
    getSavedSync(): Promise<null | ISavedSync>;
    getUserPresenceEvents(): Promise<UserTuple[]>;
    isNewlyCreated(): Promise<boolean>;
    removeToDeviceBatch(id): Promise<void>;
    saveToDeviceBatches(batches): Promise<void>;
    setOutOfBandMembers(roomId, membershipEvents): Promise<void>;
    setSyncData(syncData): Promise<void>;
    storeClientOptions(options): Promise<void>;
    syncToDatabase(userTuples): Promise<void>;
}

Methods

Generated using TypeDoc