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.items.push(11);
b.items.push(22);

b.start();