Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<apex:page showHeader="false" sidebar="false" controller="ContinuationExperimentController">
<apex:pageBlock title="Experiment with Continuation - Calling Service Async">
<apex:commandButton action="{!callService}" value="Call Service" reRender="response" />
<apex:pageBlock title="Response received from Service" id="response">
<apex:pageBlock title="Experiment with Continuation - Calling Long Running Service Async">
<apex:commandButton action="{!callServiceWithLongRunSrv}" value="Call Long Running Service" reRender="responseLongRunServ" />
<apex:pageBlock title="Response received from Long Running Service" id="responseLongRunServ">
<style type="text/css">
pre {
font-size : 1em;
color : green;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.