Activity Forums Salesforce® Discussions What is $enqueueAction in Salesforce?

  • Kirandeep

    Member
    April 7, 2020 at 2:45 pm

    $A. enqueueAction(action) adds the server-side controller action to the queue of actions to be executed. All actions that are enqueued will run at the end of the event loop.

  • Anuj

    Member
    April 8, 2020 at 1:58 pm

    Hi Aditya,
    enqueueAction(action) sends the request the server. More precisely, it adds the call to the queue of asynchronous server calls. That queue is an optimization feature of Lightning.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos