mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 18:31:53 +00:00
9 lines
239 B
TypeScript
9 lines
239 B
TypeScript
import { Observable } from 'rxjs'
|
|
import { Store } from '../store'
|
|
import { Update } from '../types'
|
|
import { RPCResponse } from './ws-source'
|
|
|
|
export interface Source<T> {
|
|
watch$ (store?: Store<T>): Observable<RPCResponse<Update<T>>>
|
|
}
|