I wanna build a progress bar for REST calls of my project, like react-redux-spinner, when user click a button to start a asynchronous action, the progress bar appear and when the action is finished the progress bar will be filled out.
I know that the asynchronous action is indeterminate, So how react-redux-spinner show the indeterminate time duration?
Is there a way to determine REST call time duration?