mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 02:11:54 +00:00
8 lines
209 B
TypeScript
8 lines
209 B
TypeScript
import { Observable } from 'rxjs'
|
|
import { Store } from '../store'
|
|
import { HashMap, Update } from '../types'
|
|
|
|
export interface Source<T extends HashMap> {
|
|
watch$ (store?: Store<T>): Observable<Update<T>>
|
|
}
|