Method
set
(
type: string,
args: string[],
value: any,
expirySeconds: number = parseInt(process.env.CACHE_EXPIRE_S || '100', 10),
)
Source from the content-addressed store, hash-verified
| 24 | } |
| 25 | |
| 26 | async set( |
| 27 | type: string, |
| 28 | args: string[], |
| 29 | value: any, |
| 30 | expirySeconds: number = parseInt(process.env.CACHE_EXPIRE_S || '100', 10), |
| 31 | ): Promise<void> { |
| 32 | return this.delegate.set(type, args, value, expirySeconds); |
| 33 | } |
| 34 | |
| 35 | async get(type: string, args: string[]): Promise<any> { |
| 36 | return this.delegate.get(type, args); |
Callers
nothing calls this directly
Tested by
no test coverage detected