Skip to main content

Class: CacheVolume

A directory whose contents persist across runs.

Extends​

  • BaseClient

Constructors​

Constructor​

new CacheVolume(ctx?, _id?): CacheVolume

Constructor is used for internal usage only, do not create object from it.

Parameters​

ctx?​

Context

_id?​

CacheVolumeID

Returns​

CacheVolume

Overrides​

BaseClient.constructor

Methods​

id()​

id(): Promise<CacheVolumeID>

A unique identifier for this CacheVolume.

Returns​

Promise<CacheVolumeID>