MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / qywxamNotify

Function qywxamNotify

tools/sendNotify.js:645–654  ·  view source on GitHub ↗
(text, desp)

Source from the content-addressed store, hash-verified

643}
644
645async function qywxamNotify(text, desp) {
646 const MAX_LENGTH = 900;
647 if (desp.length > MAX_LENGTH) {
648 let d = desp.substr(0, MAX_LENGTH) + '\n==More==';
649 await do_qywxamNotify(text, d);
650 await qywxamNotify(text, desp.substr(MAX_LENGTH));
651 } else {
652 return await do_qywxamNotify(text, desp);
653 }
654}
655
656function do_qywxamNotify(text, desp) {
657 return new Promise((resolve) => {

Callers 1

sendNotifyFunction · 0.70

Calls 1

do_qywxamNotifyFunction · 0.70

Tested by

no test coverage detected