MCPcopy Create free account
hub / github.com/Moli-X/Resources / notify

Function notify

Script/JD/JdPrice.js:233–237  ·  view source on GitHub ↗
(title, subtitle, message)

Source from the content-addressed store, hash-verified

231 }
232 })()
233 const notify = (title, subtitle, message) => {
234 if (isQuanX) $notify(title, subtitle, message)
235 if (isSurge) $notification.post(title, subtitle, message)
236 if (node) console.log(JSON.stringify({ title, subtitle, message }));
237 }
238 const write = (value, key) => {
239 if (isQuanX) return $prefs.setValueForKey(value, key)
240 if (isSurge) return $persistentStore.write(value, key)

Callers

nothing calls this directly

Calls 4

$notifyFunction · 0.50
postMethod · 0.45
logMethod · 0.45
stringifyMethod · 0.45

Tested by

no test coverage detected