UNPKG

mes-engine

Version:

A powerful and flexible video processing framework for Node.js with support for multiple processing engines, adaptive streaming, and intelligent caching.

12 lines (11 loc) 402 B
import { CacheStrategy, CacheOptions } from './cacheStrategy'; export declare class ExternalCache extends CacheStrategy { private baseUrl; private options; constructor(options: CacheOptions); set(key: string, value: Buffer): Promise<void>; get(key: string): Promise<Buffer | null>; preload(key: string): Promise<void>; clear(): Promise<void>; private getNextChunkKey; }