Skip to content

CallWrapper event methods are not executed #27

@NhatBangLe

Description

@NhatBangLe

Hi team,

Currently, I am using comfyui-sdk to interact between React and ComfyUI. I have a problem with CallWrapper event methods such as: onStart, onProgress and onFinished.

Description:
I created a CallWrapper object with onPending, onStart, onProgress and onFinished implementations (just simple console.log). Subsequently, I called run() and awaited it. As a result, the created task was executed successfully in ComfyUI but I only received log from onPending.
I tried to debug at the added callback functions of those methods but I recognized that they were not executed (except onPending).

Please help me solve this issue. Thanks for your help.

Version:
comfyui-sdk: 0.2.48
ComfyUI: 0.4.70 [Desktop]
Python 3.12.11

Workflow:
test_workflow.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions