MCPcopy Create free account
hub / github.com/cortexkit/magic-context / notify

Function notify

packages/dashboard/src/lib/platform.ts:54–57  ·  view source on GitHub ↗
(message: string, options?: MessageOptions)

Source from the content-addressed store, hash-verified

52}
53
54export async function notify(message: string, options?: MessageOptions): Promise<void> {
55 if (isTauri()) await tauriMessage(message, options);
56 else window.alert(message);
57}
58
59export function listen<T>(
60 event: string,

Callers 2

installAndRelaunchFunction · 0.90
runUpdaterFunction · 0.90

Calls 1

isTauriFunction · 0.85

Tested by

no test coverage detected