Gets the batch wide (observable) array of items.

import Batch = require("nativescript-batch");

var b = Batch.newBatch(function(ctx) {
    console.log("Item #1 => " + ctx.items.getItem(0));  // 11
    console.log("Item #2 => " + ctx.items.getItem(1));  // 22
});

b.batch.items.push(11);
b.batch.items.push(22);

b.start();