()
| 14 | } |
| 15 | |
| 16 | function messageResender() { |
| 17 | flushMessages(); |
| 18 | if (messageBuffer) { |
| 19 | setTimeout(messageResender, 100); // still more to do |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | onmessage = (msg) => { |
| 24 | // if main has not yet been called (mem init file, other async things), buffer messages |
nothing calls this directly
no test coverage detected