Cache system.

Constructors

Properties

Constructors

Properties

me: undefined | CandorUser

This variable stores in chache the user.

const api = new Candor.API({...});
const cacheUser = api.cache.me;

console.log(cacheUser);
reviews: Map<string, CandorReview[]> = ...

This variable stores in chache the reviews.

const api = new Candor.API({...});
const cacheReviews = api.cache.reviews.get("freelancerID");

console.log(cacheReviews);