Here is a Typescript function I have written:
AdjustSpinAndGetAmbiguityAnalysisResult() {
this.cssRefreshSpin = "glyphicon glyphicon-refresh glyphicon-spin";
this.GetAmbiguityAnalysisResult();
this.cssRefreshSpin = "glyphicon glyphicon-refresh";
}
This function is making a call to GetAmbiguityAnalysisResult();
However, I would like to set
this.cssRefreshSpin = "glyphicon glyphicon-refresh";
only after the GetAmbiguityAnalysisResult()
function has completely finished executing.
Any suggestions on how to achieve this?