levelcache/ts/levelcache.classes.cacheentry.ts

10 lines
231 B
TypeScript
Raw Normal View History

2020-02-14 17:28:13 +00:00
import * as plugins from './levelcache.plugins';
export class CacheEntry {
2020-02-14 18:10:10 +00:00
type: 'string' | 'blob';
mode: 'complete' | 'stream';
keyArg: string;
cacheStream: ReadableStream;
cacheContents: Buffer;
cacheValue: string;
2020-02-14 17:28:13 +00:00
}