Interface: RemoteCache

Table of contents

Properties

Properties

retrieve

โ€ข retrieve: (hash: string, cacheDirectory: string) => Promise<boolean>

Type declaration

โ–ธ (hash, cacheDirectory): Promise<boolean>

Parameters
NameType
hashstring
cacheDirectorystring
Returns

Promise<boolean>


store

โ€ข store: (hash: string, cacheDirectory: string) => Promise<boolean>

Type declaration

โ–ธ (hash, cacheDirectory): Promise<boolean>

Parameters
NameType
hashstring
cacheDirectorystring
Returns

Promise<boolean>