getLocalUserPrivateKey
This commit is contained in:
parent
689a9ce5f9
commit
0127f89298
4 changed files with 74 additions and 14 deletions
|
|
@ -195,6 +195,9 @@ export class MemoryKVCache<T> {
|
|||
private lifetime: number;
|
||||
private gcIntervalHandle: NodeJS.Timeout;
|
||||
|
||||
/**
|
||||
* @param lifetime キャッシュの生存期間 (ms)
|
||||
*/
|
||||
constructor(lifetime: MemoryKVCache<never>['lifetime']) {
|
||||
this.cache = new Map();
|
||||
this.lifetime = lifetime;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue