(feat): better connection management, utility functions & tests
This commit is contained in:
parent
b8889812c5
commit
822dfea577
14 changed files with 448 additions and 39 deletions
2
dist/user.js
vendored
2
dist/user.js
vendored
|
|
@ -1,4 +1,4 @@
|
|||
export const userCacheMap = new Map();
|
||||
const userCacheMap = new Map();
|
||||
export async function get(userId) {
|
||||
try {
|
||||
const cachedUser = userCacheMap.get(userId);
|
||||
|
|
|
|||
Loading…
Reference in a new issue