Asynchronous Apex comes in four different flavors.
>> Future Method: These are the methods which are used in synchronous transactions by using @future annotation on the method. >> Batch Apex: This is used to run large jobs which contains millions of records. >> Queueable Apex: These are also like future methods but has an ability to chain jobs with a class. >> Scheduled Apex: These are scheduled to run at a specific time.
Asynchronous process will execute whenever resources are available and there is no process in order of execution.
https://help.salesforce.com/articleView?id=000320538&language=en_US&type=1&mode=1
Asynchronous Apex comes in four different flavors.
>> Future Method: These are the methods which are used in synchronous transactions by using @future annotation on the method.
>> Batch Apex: This is used to run large jobs which contains millions of records.
>> Queueable Apex: These are also like future methods but has an ability to chain jobs with a class.
>> Scheduled Apex: These are scheduled to run at a specific time.
References:
https://rajvakati.com/2017/10/19/salesforce-async-soql/
https://www.janbasktraining.com/blog/what-is-asynchronous-in-salesforce/
Hope above information was helpful.
Please mark as Best Answer so that it can help others in the future.
Thanks,
Vinay Kumar