move client from separate repo

This commit is contained in:
Aiden McClelland
2021-06-15 16:42:47 -06:00
parent d43480a3e8
commit b7fd511a59
21 changed files with 4370 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import { Observable } from 'rxjs'
import { UpdateReal } from '../../lib/sequence-store'
import { Source } from '../../lib/source/source'
export class MockSource<T> implements Source<T> {
constructor (
private readonly mockData: Observable<UpdateReal<T>>,
) { }
watch$ (): Observable<UpdateReal<T>> {
return this.mockData
}
start (): void { }
stop (): void { }
}