MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / print_messages_due

Method print_messages_due

emrun.py:502–511  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

500 # Prints any messages that are now due after we logged some other previous
501 # messages.
502 def print_messages_due(self):
503 with http_mutex:
504 while len(self.http_message_queue):
505 msg = self.http_message_queue[0]
506 if msg[0] == self.expected_http_seq_num:
507 msg[2](msg[1])
508 self.expected_http_seq_num += 1
509 self.http_message_queue.pop(0)
510 else:
511 return
512
513 def serve_forever(self, timeout=0.5):
514 global page_exit_code, emrun_not_enabled_nag_printed

Callers 2

print_next_messageMethod · 0.95

Calls 1

popMethod · 0.45

Tested by

no test coverage detected