mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 10:21:53 +00:00
remove connection status from lib
This commit is contained in:
committed by
Aiden McClelland
parent
80698e8228
commit
824a103e5c
@@ -1,7 +1,7 @@
|
||||
import { BehaviorSubject, Observable } from 'rxjs'
|
||||
import { ConnectionStatus, Update } from '../types'
|
||||
import { Observable } from 'rxjs'
|
||||
import { Store } from '../store'
|
||||
import { Update } from '../types'
|
||||
|
||||
export interface Source<T> {
|
||||
connectionStatus$: BehaviorSubject<ConnectionStatus>
|
||||
watch$ (sequence$?: Observable<number>): Observable<Update<T>>
|
||||
watch$ (store?: Store<T>): Observable<Update<T>>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user