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

Function invokeTauri

desktop/src/shared/api/tauri.ts:336–345  ·  view source on GitHub ↗
(
  command: string,
  args?: Record<string, unknown>,
)

Source from the content-addressed store, hash-verified

334}
335
336export async function invokeTauri<T>(
337 command: string,
338 args?: Record<string, unknown>,
339): Promise<T> {
340 try {
341 return await tauriInvoke<T>(command, args);
342 } catch (error) {
343 throw toTauriError(error);
344 }
345}
346
347function fromRawChannel(channel: RawChannel): Channel {
348 return {

Callers 15

fetchLinkPreviewTitleFunction · 0.90
deletePersonaFunction · 0.90
exportPersonaToJsonFunction · 0.90
getAgentMemoryFunction · 0.90
deleteWorkflowFunction · 0.90
discoverAgentModelsFunction · 0.90
archiveIdentityFunction · 0.90
unarchiveIdentityFunction · 0.90
deleteTeamFunction · 0.90
exportTeamToJsonFunction · 0.90
parseTeamFileFunction · 0.90

Calls 1

toTauriErrorFunction · 0.85

Tested by

no test coverage detected