MCPcopy Create free account
hub / github.com/NobyDa/Script / notify

Function notify

BDTieBa-DailyBonus/TieBa.js:250–253  ·  view source on GitHub ↗
(title, subtitle, message)

Source from the content-addressed store, hash-verified

248 const isSurge = typeof $httpClient != "undefined"
249 const isQuanX = typeof $task != "undefined"
250 const notify = (title, subtitle, message) => {
251 if (isQuanX) $notify(title, subtitle, message)
252 if (isSurge) $notification.post(title, subtitle, message)
253 }
254 const write = (value, key) => {
255 if (isQuanX) return $prefs.setValueForKey(value, key)
256 if (isSurge) return $persistentStore.write(value, key)

Callers

nothing calls this directly

Calls 1

postMethod · 0.45

Tested by

no test coverage detected