endBatch(fireElemsCallback: Boolean, callback: function|PP.Delegate, errCallback: function|PP.Delegate);
fireElemsCallback. Indicates whether to call the callback function for each request. If this parameter is true, callback function is executed for each request, otherwise it is not executed.
callback. Handler processing batch request completion.
errCallback. Handler that processes incorrect completion of a batch request.
The endBatch method disables batch mode of sending requests to service.
This method returns true if the request is sent and false if the sending has failed.
Batch mode is enabled with the RdsService.beginBatch method.
The example of use is given on the page with description of the RdsService.beginBatch method.
See also: