As part of point-to-point integration, a developer must call an external web service which, due to high demand, takes a long time to provide a response. As part of the request, the developer must collect key Inputs from the end user before making the callout. Which two elements should the developer use to Implement these business requirements?
Choose 2 answers
A developer is building a Lightning web component that searches
for Contacts. The component must communicate the search
results to other unrelated Lightning web components, that are in
different DOM trees, when the search completes.
What should the developer do to implement the communication?
A developer has working business logic code, but sees the following error in the test class:
You have uncommitted work pending. Please commit
or rollback before calling out.
What is a possible solution?
An Apex class does not achieve expected code coverage. The testsetup method explicitly calls a method In the Apex class..
How can the developer generate the code coverage?
A developer is creating a Lightning web component that displays a list of records in a lightning-datatable. After saving a new record to the database, the list is not updating.
What should the developer change in the code above for this to