You need to sign in to do that
Don't have an account?

vf page value return from controller which is having future method
in a vf page there is an action function which call a method which is having future annotation and the controller returns some value to the page. If salesforce resource are not available at that particular time then what will happen to the page. whether we get any errors or it will wait for the salesforce resource.
Future method, as the name suggests, is for asynchronous process - meaning where the user doesn't have to wait for the action to be completed.
However, in your case, as you pointing out you're waiting or trying to understand how much to wait for the transaction to be completed.
I'd suggest this to be a non-future method.