mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 10:21:53 +00:00
send message when websocket open and clear store cache on reset
This commit is contained in:
@@ -20,9 +20,6 @@ export class PatchDB<T> {
|
||||
.pipe(
|
||||
tap(update => this.store.update(update)),
|
||||
concatMap(() => of(this.store.cache)),
|
||||
finalize(() => {
|
||||
this.store.reset()
|
||||
}),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user