DimSrv.endBatch

Syntax

endBatch(fireElemsCallback: Boolean, callback: Function, errCallback: Function);

Parameters

fireElemsCallback. Indicates if a handler is called for each query. If this parameter is True, a handler is called for each query, otherwise the same handler is called for all queries

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 queries and sends a formed batch.

Comments

Batch mode of sending queries is enabled by the DimSrv.beginBatch method.

Example

The example of method use is given in description of the DimSrv.beginBatch method.

See also:

DimSrv