MCPcopy Create free account
hub / github.com/Comfy-Org/ComfyUI / send_sync

Method send_sync

server.py:1358–1360  ·  view source on GitHub ↗
(self, event, data, sid=None)

Source from the content-addressed store, hash-verified

1356 await send_socket_catch_exception(self.sockets[sid].send_json, message)
1357
1358 def send_sync(self, event, data, sid=None):
1359 self.loop.call_soon_threadsafe(
1360 self.messages.put_nowait, (event, data, sid))
1361
1362 def queue_updated(self):
1363 self.send_sync("status", { "status": self.get_queue_info() })

Callers 12

queue_updatedMethod · 0.95
send_progress_textMethod · 0.95
_send_cached_uiFunction · 0.80
executeFunction · 0.80
execution_block_cbFunction · 0.80
add_messageMethod · 0.80
prompt_workerFunction · 0.80
hookFunction · 0.80
_emit_eventMethod · 0.80
_send_progress_stateMethod · 0.80
update_handlerMethod · 0.80
send_messagesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected