@amadeus-it-group/tansu
Version:
tansu is a lightweight, push-based framework-agnostic state management library. It borrows the ideas and APIs originally designed and implemented by Svelte stores and extends them with computed and batch.
11 lines (10 loc) • 334 B
TypeScript
import { RawStoreWritable } from './storeWritable';
export declare const flushUnused: () => void;
export declare abstract class RawStoreTrackingUsage<T> extends RawStoreWritable<T> {
private extraUsages;
abstract startUse(): void;
abstract endUse(): void;
updateValue(): void;
checkUnused(): void;
get(): T;
}