Interface: RemoteCache
Table of contents
Properties
Properties
retrieve
โข retrieve: (hash: string, cacheDirectory: string) => Promise<boolean>
Type declaration
โธ (hash, cacheDirectory): Promise<boolean>
Parameters
| Name | Type | 
|---|---|
| hash | string | 
| cacheDirectory | string | 
Returns
Promise<boolean>
store
โข store: (hash: string, cacheDirectory: string) => Promise<boolean>
Type declaration
โธ (hash, cacheDirectory): Promise<boolean>
Parameters
| Name | Type | 
|---|---|
| hash | string | 
| cacheDirectory | string | 
Returns
Promise<boolean>