in src/caching/GenericCache.ts [100:111]
private async autoRenewRenewableItems() {
this.updateFunctions.forEach(async (updateFunction, key) => {
const cachedItem = await this.get(key);
if (!cachedItem) {
return;
}
if (updateFunction && this.itemDueToExpire(cachedItem)) {
await this.tryUpdateItem(key, cachedItem, updateFunction);
}
});
}