MCPcopy Create free account
hub / github.com/astercloud/aster / useSession

Function useSession

studio/src/hooks/useApi.ts:146–152  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

144}
145
146export function useSession(id: string) {
147 return useQuery({
148 queryKey: queryKeys.session(id),
149 queryFn: () => api.getSession(id),
150 enabled: !!id,
151 });
152}
153
154// Agents
155export function useAgents() {

Callers 1

SessionDetailFunction · 0.90

Calls 1

getSessionMethod · 0.80

Tested by

no test coverage detected