RemoteCache
Table of contents
Section titled “Table of contents”Properties
Section titled “Properties”Properties
Section titled “Properties”retrieve
Section titled “retrieve”• retrieve: (hash: string, cacheDirectory: string) => Promise<boolean>
Type declaration
Section titled “Type declaration”▸ (hash, cacheDirectory): Promise<boolean>
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
hash | string |
cacheDirectory | string |
Returns
Section titled “Returns”Promise<boolean>
• store: (hash: string, cacheDirectory: string) => Promise<boolean>
Type declaration
Section titled “Type declaration”▸ (hash, cacheDirectory): Promise<boolean>
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
hash | string |
cacheDirectory | string |
Returns
Section titled “Returns”Promise<boolean>