synchronizing onComplete event for a solcache subscribe request

Hi @alinaqvi, if Aaron’s comment answers your question, can you accept it as the best answer for the benefit of the community?