revert source connection monitor

This commit is contained in:
Matt Hill
2021-09-01 14:27:09 -06:00
committed by Aiden McClelland
parent c03c876098
commit c3e28cb683
4 changed files with 0 additions and 9 deletions

View File

@@ -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)
},
},