send message when websocket open and clear store cache on reset

This commit is contained in:
Matt Hill
2021-08-23 15:04:49 -06:00
parent dc242320c8
commit 2324f7d8a9
3 changed files with 2 additions and 5 deletions

View File

@@ -20,9 +20,6 @@ export class PatchDB<T> {
.pipe(
tap(update => this.store.update(update)),
concatMap(() => of(this.store.cache)),
finalize(() => {
this.store.reset()
}),
)
}
}