@amirmarmul/waba-common
Version:

10 lines (9 loc) • 381 B
TypeScript
import { Store } from '../../../../core/domain/cache/Store';
export declare class NullStore implements Store {
get<T>(key: string): Promise<T | null>;
put(key: string, value: any, ttl: number): Promise<boolean>;
forever(key: string, value: unknown): Promise<boolean>;
forget(key: string): Promise<boolean>;
flush(): Promise<boolean>;
getPrefix(): string;
}