ProtecteddataOptionalerror?: ErrorDataOptionaleta?: DateProtectedlastProtectedlistenersEstimated time of completion in seconds (for long-running projects like video generation). Updated by ComfyUI workers during inference.
List of jobs in the project. Note that jobs will be added to this list as
workers start processing them. So initially this list will be empty.
Subscribe to project updated event to get notified about any update, including new jobs.
Progress of the project in percentage (0-100).
List of result URLs for all completed jobs in the project.
Cancel the project. This will cancel all jobs in the project.
ProtectedemitDispatch an event to all listeners
Remove an event listener
Add an event listener, returns a function that can be called to remove the listener
Add an event listener that will be called only once
Remove all event listeners, optionally for a specific event
Optionalevent: TGet full project data snapshot. Can be used to serialize the project and store it in a database.
Optionalerror?: ErrorDataOptionaleta?: DateEstimated completion time of the project (for long-running projects like video generation). Is equal to maximum job ETA
Estimated completion time of the project (for long-running projects like video generation). Is equal to maximum job ETA