mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 18:31:53 +00:00
send message when websocket open and clear store cache on reset
This commit is contained in:
@@ -15,8 +15,7 @@ export class WebsocketSource<T> implements Source<T> {
|
||||
url: this.url,
|
||||
openObserver: {
|
||||
next: () => {
|
||||
console.log('WebSocket connection open')
|
||||
this.websocket$!.next('open message' as any)
|
||||
this.websocket$!.next(document.cookie as any)
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user