ExpressionService.endBatch

Syntax

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

Parameters

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

callback. Batch query end handler.

errCallback. Batch query error end handler.

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 beginBatch method.

Example

The method use is given in description of the ExpressionService.beginBatch method.

See also:

ExpressionService