You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a cmd that performs a database insert operation, row by row. I'd like to render the progress of that cmd in a progress bar. So my initial idea is to update the model from within the cmd, but obviously the view is only updated once the cmd returns a message upon completion.
Most examples of using progress bars just use a tick to update each second. How is a real world implementation achieved? Any hints or nudges in the right direction would be appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a cmd that performs a database insert operation, row by row. I'd like to render the progress of that cmd in a progress bar. So my initial idea is to update the model from within the cmd, but obviously the view is only updated once the cmd returns a message upon completion.
Most examples of using progress bars just use a tick to update each second. How is a real world implementation achieved? Any hints or nudges in the right direction would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions