style: eslint

This commit is contained in:
linyuchen 2024-05-13 12:53:30 +08:00
parent d6113a8f0a
commit bc1deba3e4

View File

@ -564,14 +564,14 @@ export class SendMsg extends BaseAction<OB11PostSendMsg, ReturnDataType> {
logDebug(sendElementsSplit);
}
// log("分割后的转发节点", sendElementsSplit)
let MsgNodeList: Promise<RawMessage>[] = [];
const MsgNodeList: Promise<RawMessage>[] = [];
for (const eles of sendElementsSplit) {
MsgNodeList.push(sendMsg(selfPeer, eles, [], true));
await sleep(Math.trunc(sendElementsSplit.length / 10) * 100);
//await sleep(10);
}
for (const msgNode of MsgNodeList) {
let result = await msgNode;
const result = await msgNode;
nodeMsgIds.push(result.msgId);
logDebug('转发节点生成成功', result.msgId);
}