Clear cache and re-validate documents on cacheClear command (#71)

This commit is contained in:
Laura Yu
2023-01-09 17:11:10 -08:00
committed by GitHub
parent b02eaa37b2
commit c5043f34de
3 changed files with 16 additions and 0 deletions
@@ -36,4 +36,8 @@ export class TTLCache {
throw e;
}
}
clear(): void {
this.cache.clear();
}
}