UNPKG

reshuffle

Version:

Reshuffle is a fast, unopinionated, minimalist integration framework

9 lines (8 loc) 335 B
export declare type Updater = (value: any) => Promise<any>; export interface PersistentStoreAdapter { del: (key: string) => Promise<void>; get: (key: string) => Promise<any>; list: () => Promise<string[]>; set: (key: string, value: any) => Promise<any>; update: (key: string, updater: Updater) => Promise<any[]>; }