Add some callbacks for OnRpcCompleted which can run on client which called rpc

It literally took me two days to figure out what was happening when I realized that issue was that the rpc was not executed and my next line of code is executing first

So I just added the timer of 1sec before executing next line but it is not an effective way so I am looking for effective way of doing this

My issue was related to server rpc btw