mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 02:11:54 +00:00
extends hashmap
This commit is contained in:
committed by
Aiden McClelland
parent
88084f60a2
commit
cf43a9a83e
@@ -8,8 +8,8 @@ export interface StashEntry {
|
||||
undo: Operation[]
|
||||
}
|
||||
|
||||
export class Store<T> {
|
||||
cache: DBCache<HashMap>
|
||||
export class Store<T extends HashMap> {
|
||||
cache: DBCache<T>
|
||||
sequence$: BehaviorSubject<number>
|
||||
private watchedNodes: { [path: string]: BehaviorSubject<any> } = { }
|
||||
private stash = new BTree<number, StashEntry>()
|
||||
|
||||
Reference in New Issue
Block a user