November 2023
Intermediate to advanced
394 pages
10h 14m
English
So far in this section on asynchronous processing in Apex, we have dealt with both future methods and Batch Apex, two different ways of processing data asynchronously with different use cases and benefits. In this chapter, we are going to discuss another asynchronous processing option that is somewhat of a hybrid of both – Queueable Apex.
We will discuss what Queueable Apex is and how it compares to both Batch Apex and future methods. This will help us define and understand use cases for Queueable Apex before we learn how to define a Queueable Apex implementation. After defining a Queueable Apex implementation, we will learn how to invoke a queueable job and how to chain jobs. We’ll finish this chapter by reviewing ...