SP.ClientContext.hasPendingRequest property (sp.js)

Gets a value that indicates whether the client context has a pending request.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.ClientContext.get_hasPendingRequest()

Return value

Boolean
true if the client context has a pending request; otherwise false.

See also

Other resources

SP.ClientContext object (sp.js)