Run process in the background example #867
Closed
DevOpsCraftsman
started this conversation in
Ideas
Replies: 1 comment 6 replies
-
Answering myself : It's already handled by this in a lot more elegant way: |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Evryone!
I know there is already a progress bar example for background process feedback visualization.
But I think a more simple example could be added.
My proposition:
The
pre_run
endpoint does not yet run the process, but just returns a new button with the load trigger that actually launches it on the server and wait for its completion:After completion, the response returns a simple button telling we’re done:
Of course, if there is failure we can returns the first button with another content like "Error… Please retry".
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions