MCPcopy Create free account
hub / github.com/block/buzz / getEventById

Function getEventById

desktop/src/shared/api/tauri.ts:715–718  ·  view source on GitHub ↗
(eventId: string)

Source from the content-addressed store, hash-verified

713}
714
715export async function getEventById(eventId: string): Promise<RelayEvent> {
716 const eventJson = await invokeTauri<string>("get_event", { eventId });
717 return JSON.parse(eventJson) as RelayEvent;
718}
719
720type RawThreadCursor = {
721 created_at: number;

Callers 4

loadContextFunction · 0.90
useLoadMissingAncestorsFunction · 0.90
fetchRouteEventFunction · 0.90

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected