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
Thennakon Witharanage AnushaThennakon Witharanage Anusha 

Synchronous and Asynchronous Apex

What is Synchronous and Asynchronous Apex ?
Check this -->

If this answers your query please mark this question as a solved so that it can be filtered out from unsolved questions.
Veena GopalVeena Gopal
Synchronous execution takes place as a single transaction and it does not wait for available resources. While asynchronous execution takes place depending on the resources available. @future, batch apex are examples of asynchronous execution. Governer limits in case of asynchronous are higher as compared to synchronous. In asynchronous operations; the code is executed in the background and the user is free to perform other operations.