Ask Question
24 February, 22:37

A developer has been asked to create code that will meet the following requirements: Receives input of: Map, List Performs a potentially long-running callout to an outside web service Provides a way to confirm that the process executed successfully Which asynchronous feature should be used? A. @future (callout=true)

B. Database. AllowsCallouts interface

C. Schedulable interface

D. Queueable interface

+5
Answers (1)
  1. 24 February, 22:44
    0
    The answer is "Option D'

    Explanation:

    Queue-able framework is used to control the Apex codes, it also allows users to connect and track workers on the line. It was an improved way to manage the asynchronous apex code in contrast to possible approaches, that use this framework, and other choices were incorrect, that can be described as follows:

    In option A, It's not correct because, It can't control apex code. In option B, The database can't use to call outs interface, that's why it is wrong. In option C, It contains methods, that's why it is wrong.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “A developer has been asked to create code that will meet the following requirements: Receives input of: Map, List Performs a potentially ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers