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

Function useEventsSince

studio/src/hooks/useApi.ts:101–107  ·  view source on GitHub ↗
(cursor: number)

Source from the content-addressed store, hash-verified

99}
100
101export function useEventsSince(cursor: number) {
102 return useQuery({
103 queryKey: queryKeys.eventsSince(cursor),
104 queryFn: () => api.getEventsSince(cursor),
105 enabled: cursor > 0,
106 });
107}
108
109// Insights
110export function useInsights() {

Callers

nothing calls this directly

Calls 1

getEventsSinceMethod · 0.80

Tested by

no test coverage detected