In this lesson, we review the work and solution for Challenge 3.
Resource:
Install Example Solution - Solution: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t3h000004slmWAAQ
We have now progressed to the point of being ready to address Asynchronous Apex. We will start off this section discussing Scheduled Apex.
To invoke Apex classes to run at specific times, first implement the Schedulable interface for the class, then specify the schedule using either the Schedule...
A future method runs in the background, asynchronously. You can call a future method for executing long-running operations, such as callouts to external Web services or any operation you'd like to run in its own thread.
Resource:
Future Methods - https://developer.salesforce.com/docs/atlas.en-us...
The Queueable interface enables you to add jobs to the queue and monitor them. Using the interface is an enhanced way of running your asynchronous Apex code compared to using future methods.
Resources:
Queueable Apex - https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex...