Adds one or more items for the object in 'items' property.
import Batch = require("nativescript-batch");
var b = Batch.newBatch(function(ctx) {
console.log("Item #1 => " + ctx.items.getItem(0)); // 222
console.log("Item #2 => " + ctx.items.getItem(1)); // 111
});
b.batch.addItems(222, 111);
b.start();