UNPKG

ltijs

Version:

Easily turn your web application into a LTI 1.3 Learning Tool.

8 lines (7 loc) • 285 B
export interface CacheManager { listen: () => Promise<void>; close: () => Promise<void>; get: <T = unknown>(key: string) => Promise<T | undefined>; set: <T = unknown>(key: string, value: T, ttlMs: number) => Promise<void>; delete: (key: string) => Promise<void>; }