BiService.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 to True, a custom handler is called for each query, otherwise a single handler is called for all queries.

callback. Batch query complete handler.

errCallback. Handler that processes incorrect completion of a batch query.

Description

The endBatch method disables batch mode of sending queries and sends a formed batch.

Comments

Batch query sending mode is enabled by the BiService.beginBatch method.

Example

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

See also:

BiService