mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 02:11:54 +00:00
chore: make cache private
Signed-off-by: waterplea <alexander@inkin.ru>
This commit is contained in:
@@ -26,7 +26,7 @@ export class PatchDB<T extends { [key: string]: any }> {
|
||||
|
||||
constructor(
|
||||
private readonly source$: Observable<Update<T>[]>,
|
||||
readonly cache$ = new BehaviorSubject<Dump<T>>({
|
||||
private readonly cache$ = new BehaviorSubject<Dump<T>>({
|
||||
id: 0,
|
||||
value: {} as T,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user