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

@@ -9,7 +9,6 @@ export type PollConfig = {
}
export class PollSource<T> implements Source<T> {
connectionMade$ = new Subject<void>()
constructor (
private readonly pollConfig: PollConfig,
@@ -37,7 +36,6 @@ export class PollSource<T> implements Source<T> {
return polling$.pipe(
switchMap(_ => poll$),
concatMap(res => {
this.connectionMade$.next()
if (Array.isArray(res)) {
return from(res) // takes Revision[] and converts it into Observable<Revision>
} else {