Continuation Class Example in Salesforce
Use the Continuation class to make callouts asynchronously to a SOAP or REST Web service. Visualforce page: <apex:page controller="ContinuationController"> <apex:pageMessage rendered="{!statusBool}" severity="Info" summary="Long running process. So, do not press Start ....