UNPKG

@mic-rexjs/usecases

Version:
10 lines (9 loc) 317 B
import { EntityStoreOptions, EntityWatcher } from './types'; export declare class EntityStore<T> { #private; value: T; constructor(initialEntity: T, options?: EntityStoreOptions<T>); setValue(value: T): void; unwatch(watcher: EntityWatcher<T>): void; watch(watcher: EntityWatcher<T>): void; }