UNPKG

reshuffle

Version:

Reshuffle is a fast, unopinionated, minimalist integration framework

10 lines (8 loc) 312 B
export 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[]> }