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

Method dequeue

server.py:930–932  ·  view source on GitHub ↗
(prompt_id)

Source from the content-addressed store, hash-verified

928 return self.prompt_queue.interrupt_if_running(prompt_id)
929
930 def dequeue(prompt_id):
931 logging.info(f"Cancelling pending prompt {prompt_id}")
932 return self.prompt_queue.delete_queue_item(lambda a: a[1] == prompt_id)
933
934 classification = cancel_job(job_id, running, queued, history, interrupt, dequeue)
935 return classification in (CANCEL_RUNNING, CANCEL_PENDING)

Callers

nothing calls this directly

Calls 1

delete_queue_itemMethod · 0.45

Tested by

no test coverage detected