mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 10:21:53 +00:00
as observable
This commit is contained in:
@@ -34,7 +34,7 @@ export class Store<T> {
|
||||
if (!this.watchedNodes[path]) {
|
||||
this.watchedNodes[path] = new BehaviorSubject(getValueByPointer(this.cache.data, path))
|
||||
}
|
||||
return this.watchedNodes[path]
|
||||
return this.watchedNodes[path].asObservable()
|
||||
}
|
||||
|
||||
update (update: Update<T>): void {
|
||||
|
||||
Reference in New Issue
Block a user