Spaces:
Runtime error
Runtime error
Download src/api/abstract/abstract.cache.ts from oex2003/evolution-api: direct link, hf CLI and curl.
- Browser
- Download file 484 Bytes
-
https://huggingface.co/spaces/oex2003/evolution-api/resolve/refs%2Fpr%2F1/src/api/abstract/abstract.cache.ts
- Command line
-
hf download hf://spaces/oex2003/evolution-api@refs/pr/1/src/api/abstract/abstract.cache.ts
-
curl -L -o abstract.cache.ts https://huggingface.co/spaces/oex2003/evolution-api/resolve/refs%2Fpr%2F1/src/api/abstract/abstract.cache.ts
484 Bytes
| export interface ICache { | |
| get(key: string): Promise<any>; | |
| hGet(key: string, field: string): Promise<any>; | |
| set(key: string, value: any, ttl?: number): void; | |
| hSet(key: string, field: string, value: any): Promise<void>; | |
| has(key: string): Promise<boolean>; | |
| keys(appendCriteria?: string): Promise<string[]>; | |
| delete(key: string | string[]): Promise<number>; | |
| hDelete(key: string, field: string): Promise<any>; | |
| deleteAll(appendCriteria?: string): Promise<number>; | |
| } | |