? Integration with Platform Events

Shen Yifeng

salesforce enthusiast,sfdc developer, consultant

Salesforce Continuation Deep Dive

when we face such situation when web service calls return slowly, lots of users requesting to a heavy weight external system in real-time, and the response should be returned and fire other executions relating to the perspective result, the suitable choice is to use continuation, it supports long running cuncurrent aysnc callouts, also has a call back function when the response returned. I put all my explainations in a ppt which I wrote for a small study group.

my demo link:

If set the 3rd parameter(the wait time between two requests) to 0, we can bulk callouts in nearly the same time

If you’re waiting for a long time response in the UI from an external systems, then continuation is a good friend.

This post is crafted by myself.