MCPcopy Create free account
hub / github.com/msgbyte/tailchat / getCachedBaseGroupInfo

Function getCachedBaseGroupInfo

client/shared/cache/cache.ts:68–77  ·  view source on GitHub ↗
(
  groupId: string
)

Source from the content-addressed store, hash-verified

66 * 获取缓存的邀请码信息
67 */
68export async function getCachedBaseGroupInfo(
69 groupId: string
70): Promise<GroupBasicInfo | null> {
71 const data = await queryClient.fetchQuery(
72 [CacheKey.baseGroupInfo, groupId],
73 () => getGroupBasicInfo(groupId)
74 );
75
76 return data;
77}
78
79/**
80 * 获取缓存的邀请码信息

Callers 2

index.tsxFile · 0.85
initNotifyFunction · 0.85

Calls 1

getGroupBasicInfoFunction · 0.90

Tested by

no test coverage detected