function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
inbox outbox 7inbox outbox 7 

Expect: 100-Continue vs Continuation

Is continuation the same the Expect: 100 - Continue in the header of the request
@AuraEnable(Continuation = true Cacheable = true)
PriyaPriya (Salesforce Developers) 


Can you kindly elaborate this?


Priya Ranjan

inbox outbox 7inbox outbox 7
It is inregards to integration. 

@AuraEnable(Continuation = true Cacheable = true) : To make the callout asynchronous and so we can avoid the timeout limit or to avoid hitting the limit which says 10 long running operations are only allowed synchronously

!00-Continue: When send this in the header of request (http request), we are sending the request without the body to make sure everything is okay, the endpoint system will then reply with 100 continue, indicating everything is okay so far and to continue with the request. Then the request is continued with the body again.