The checkConstraints function calls this._expressionProcessor.runCalculations without awaiting it. Since runCalculations is asynchronous, this means that the rest of the checkConstraints logic may run without the latest runCalculations results.
To address this, checkConstraints should be changed to an async function so it can await the runCalculations call. If for some reason this is not necessary, and calling runCalculations without await is safe, then it should be documented via a code comment.
The checkConstraints function calls this._expressionProcessor.runCalculations without awaiting it. Since
runCalculationsis asynchronous, this means that the rest of thecheckConstraintslogic may run without the latestrunCalculationsresults.To address this,
checkConstraintsshould be changed to anasyncfunction so it can await therunCalculationscall. If for some reason this is not necessary, and callingrunCalculationswithoutawaitis safe, then it should be documented via a code comment.