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

Method get_queue_info

server.py:1249–1254  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1247 ])
1248
1249 def get_queue_info(self):
1250 prompt_info = {}
1251 exec_info = {}
1252 exec_info['queue_remaining'] = self.prompt_queue.get_tasks_remaining()
1253 prompt_info['exec_info'] = exec_info
1254 return prompt_info
1255
1256 async def send(self, event, data, sid=None):
1257 if event == BinaryEventTypes.UNENCODED_PREVIEW_IMAGE:

Callers 3

websocket_handlerMethod · 0.95
get_promptMethod · 0.95
queue_updatedMethod · 0.95

Calls 1

get_tasks_remainingMethod · 0.80

Tested by

no test coverage detected