Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ETA of one bar with ETA of the other? #158

Open
KomradFluP opened this issue Aug 1, 2024 · 1 comment
Open

Update ETA of one bar with ETA of the other? #158

KomradFluP opened this issue Aug 1, 2024 · 1 comment

Comments

@KomradFluP
Copy link

I have a script that runs other scripts in order. I've made a multibar instance and on that a singlebar that shows the progress of all scripts.
I.e. 50% 3/4 Now running: refactorTest.
I pass the multibar instance to all of the scripts so that they can make script specific singlebars.
However the problem I have is that my main bar will show 3s because the first script took that long, but the bar of the currently running script will have 30s for example. Is there a way to update my main bar ETA with the currently running script's bar?

@AndiDittrich
Copy link
Member

just create a simple wrapper and implement your own eta calculation. values can be displayed via custom payloads

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants