Gets or sets the (display) name of the batch.

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

var b = Batch.newBatch(function(ctx) {
    console.log("Batch name: " + ctx.batchName);
});

b.batch.name = "My batch";

b.start();