Gets the batch wide (observable) object.

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

var b = Batch.newBatch(function(ctx) {
    ctx.log("TM => " + ctx.object.get("TM"));  // 5979
    ctx.log("MK => " + ctx.object.get("MK"));  // 23979
});

b.batch.object.set("TM", 5979);
b.batch.object.set("MK", 23979);

b.start();