mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 02:11:54 +00:00
remove connection status from lib
This commit is contained in:
committed by
Aiden McClelland
parent
eb4a24e797
commit
d84752007d
@@ -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