add connection monitor to sources

This commit is contained in:
Matt Hill
2021-08-31 13:50:01 -06:00
parent 66b41761d8
commit 8cd350376c
4 changed files with 15 additions and 6 deletions

View File

@@ -4,4 +4,5 @@ import { Update } from '../types'
export interface Source<T> {
watch$ (store?: Store<T>): Observable<Update<T>>
connectionMade$: Observable<void>
}