MCPcopy Create free account
hub / github.com/crawl/crawl / queue_message

Method queue_message

crawl-ref/source/webserver/webtiles/ws_handler.py:1483–1486  ·  view source on GitHub ↗
(self, msg, **data)

Source from the content-addressed store, hash-verified

1481 return self.append_message(json_encode(data), True)
1482
1483 def queue_message(self, msg, **data):
1484 # type: (str, Any) -> bool
1485 data["msg"] = msg
1486 return self.append_message(json_encode(data), False)
1487
1488 def try_cleanup(self):
1489 global sockets

Callers 5

send_lobby_dataMethod · 0.95
send_lobby_htmlMethod · 0.95
send_game_linksMethod · 0.95
login_callbackMethod · 0.95
do_lobby_updatesFunction · 0.80

Calls 2

append_messageMethod · 0.95
json_encodeFunction · 0.85

Tested by

no test coverage detected