mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 02:11:54 +00:00
revert source connection monitor
This commit is contained in:
committed by
Aiden McClelland
parent
c03c876098
commit
c3e28cb683
@@ -5,7 +5,6 @@ import { Source } from './source'
|
||||
|
||||
export class WebsocketSource<T> implements Source<T> {
|
||||
private websocket$: WebSocketSubject<Update<T>> | undefined
|
||||
connectionMade$ = new Subject<void>()
|
||||
|
||||
constructor (
|
||||
private readonly url: string,
|
||||
@@ -16,7 +15,6 @@ export class WebsocketSource<T> implements Source<T> {
|
||||
url: this.url,
|
||||
openObserver: {
|
||||
next: () => {
|
||||
this.connectionMade$.next()
|
||||
this.websocket$!.next(document.cookie as any)
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user