Files
patch-db/client/lib/source/source.ts
2022-07-24 09:01:01 -06:00

9 lines
238 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>>>
}