I know it's hard to answer this without any context, but I have built a Lightning Component that displays order information. Users can input and modify fields on this Lightning Component, and save that information(that save commits the record values and refreshes the Lightning Component). Once that information is saved, a web service takes those values, sends them over to another db, returns a value, and then writes that to the record. The issue im having is that the web service doesn't perform fast enough to write these values to the record before the Lightning Component is refreshed.
I'm just using $A.get(‘e.force:refreshView’).fire(); Is there anyway to limit this to a couple seconds to get the values from the web service?