MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / playAlertSound

Function playAlertSound

apps/web/src/scripts/monitor-pg-activity.ts:22–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20}
21
22async function playAlertSound(): Promise<void> {
23 try {
24 await execAsync(`afplay ${SOUND_FILE}`);
25 console.log('🔊 Alert sound played');
26 } catch (error) {
27 console.error('❌ Failed to play alert sound:', error);
28 }
29}
30
31let iter = 0;
32

Callers 1

monitorActivityFunction · 0.85

Calls 2

logMethod · 0.65
errorMethod · 0.65

Tested by

no test coverage detected