mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-31 12:23:40 +00:00
add connection monitoring
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Observable } from 'rxjs'
|
||||
import { Update } from '../types'
|
||||
import { BehaviorSubject, Observable } from 'rxjs'
|
||||
import { ConnectionStatus, Update } from '../types'
|
||||
|
||||
export interface Source<T> {
|
||||
connectionStatus$: BehaviorSubject<ConnectionStatus>
|
||||
watch$ (sequence$?: Observable<number>): Observable<Update<T>>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user