VictorS67 / encre

MIT License
3 stars 1 forks source link

[NEW] Add new server API for handling `requireInput` event in workflow processing #105

Open VictorS67 opened 1 month ago

VictorS67 commented 1 month ago

Feature Request

The Encre workflow processing accepts waiting user inputs when there is an InputNode in the workflow. Current server API does not consider such functionality, so that the workflow with InputNode cannot be processed successfully for now. We should add another server API for listening user inputs.

In addition, current /app/run API does not emit requireInput event to users, so that users won'y be notified when they can provide the user inputs to the InputNode. We probably need to emit requireInput event or something similar.

Code of Conduct