Waiting (Deprecated)

aura:waiting

Indicates that the client-side framework is currently awaiting a response to a server request.

The aura:waiting event is deprecated. Execute logic after queueing an action instead of using this event. A component is waiting for a response for an action until the action’s callback is invoked. The aura:doneWaiting application event is fired for every server request, even for requests from other components in your app. Unless your component is running in complete isolation in a standalone app and not included in Lightning Experience or the Salesforce mobile app, the container app may trigger your event handler multiple times. This behavior makes it difficult to handle each event appropriately.

Handle the aura:waiting event in a client-side controller. A component can have only one <aura:handler> tag to handle this event.

This example shows a spinner when aura:waiting is fired.

This client-side controller fires an event that displays the spinner.

No specifications to show