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));  // 666
    console.log("Item #2 => " + ctx.items.getItem(1));  // 77
});

b.addItems(666, 77);

b.start();