mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 10:21:53 +00:00
add connection monitoring
This commit is contained in:
committed by
Aiden McClelland
parent
06d8a6f76f
commit
80698e8228
@@ -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