()
| 113 | async function loadArr() { |
| 114 | let invsArr2: invitejson[] = []; |
| 115 | let waiting = false; |
| 116 | async function addHTML() { |
| 117 | if (waiting) return; |
| 118 | waiting = true; |
| 119 | await new Promise((res) => setTimeout(res, 0)); |
| 120 | waiting = false; |
| 121 | invDiv.append(...invsArr2.map((inv) => createInviteHTML(inv))); |
| 122 | invsArr2 = []; |
| 123 | } |
| 124 | while (!(await bansp).done) { |
| 125 | const inv = await (await (await bansp).getNext()).getWhole(); |
no test coverage detected