RdsService.endBatch

Syntax

endBatch(fireElemsCallback: Boolean, callback: function|PP.Delegate, errCallback: function|PP.Delegate);

Parameters

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.

Description

The endBatch method disables batch mode of sending requests to service.

Comments

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.

Example

The example of use is given on the page with description of the RdsService.beginBatch method.

See also:

RdsService