UNPKG

@stencil/core

Version:

A Compiler for Web Components and Progressive Web Apps

12 lines (11 loc) 375 B
export interface Cache { get(key: string): Promise<string>; put(key: string, value: string): Promise<boolean>; has(key: string): Promise<boolean>; createKey(domain: string, ...args: any[]): Promise<string>; commit(): Promise<void>; clear(): void; clearDiskCache(): Promise<void>; getMemoryStats(): string; initCacheDir(): Promise<void>; }