Starts all operations.

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

var b = Batch.newBatch(function(ctx) {
    ctx.result = "TM";
});

// "TM"
var r = b.start();