I have two functions, one called GetValue and one called SetValue. They both use hubAction to perform an HTTP GET and the other a hubAction HTTP SET. If called in isolation, they work perfectly. However, I have a third function which needs to call SetValue followed by GetValue. In this instance only GetValue is ever completed.
From what I can tell, its the asynchronous nature of hubAction and its seemingly absolute reliance on the ‘parse’ callback. log lines from GetValue are present, but only the SetValue hubAction actually gets invoked.
I am unable to find anyway to make two hubActions work in a single call.
Any assistance is appreciated.