0

I have a custom button that runs a web service call for an Apex class that makes a SOAP call to an external application. The problem is that this process is executed on the main thread and ends up crashing the browser. Anyone know how I do not catch the user's screen? Already try to put web worker can not import the libraries: apex.js connection.js

1 Answer 1

0

You should look into Queueable Apex and Queueable Interface you can use JS to make a call and to make the call asynchronously.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .