@ncodedcode/ncode_react_lib
Version:
ncode react application context library
9 lines (8 loc) • 346 B
TypeScript
export declare const NCInstantStorageClassName = "NCInstantStorage";
export declare const NCStorageClassName = "NCStorage";
export interface NCStorage {
save(key: string, value: string): Promise<boolean>;
load(key: string): Promise<string | null>;
contains(key: string): Promise<boolean>;
delete(key: string): Promise<boolean>;
}