Files
patch-db/client/lib/source/source.ts
2022-08-16 09:56:05 -06:00

8 lines
190 B
TypeScript

import { Observable } from 'rxjs'
import { Store } from '../store'
import { Update } from '../types'
export interface Source<T> {
watch$(store?: Store<T>): Observable<Update<T> | null>
}