Activity Forums Salesforce® Discussions Why @future is used in API callout in Salesforce?

  • Sumit

    Member
    April 2, 2020 at 12:32 pm

    Future Annotation. Use the future annotation to identify methods that are executed asynchronously. ... Without the annotation, the Web service callout is made from the same thread that is executing the Apex code, and no additional processing can occur until the callout is complete (synchronous processing).

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos