fix: remove legacy code in index.vue

This commit is contained in:
Andrew Bastin
2021-08-02 13:50:46 -04:00
parent 6d9ac84859
commit 05f19cbb60
2 changed files with 39 additions and 1481 deletions

View File

@@ -98,15 +98,15 @@ export function useStreamSubscriber() {
const runAndSubscribe = <T>(
stream: Observable<T>,
next: (value: T) => void,
error: (e: any) => void,
complete: () => void
next?: (value: T) => void,
error?: (e: any) => void,
complete?: () => void
) => {
const sub = stream.subscribe({
next,
error,
complete: () => {
complete()
if (complete) complete()
subs.splice(subs.indexOf(sub), 1)
},
})

File diff suppressed because it is too large Load Diff