Gets or sets the (display) name of the operation.
import Batch = require("nativescript-batch");
var b = Batch.newBatch(function(ctx) {
console.log("Name: " + ctx.name); // "Operation #1"
});
b.name = "Operation #1";
b = b.then(function(ctx) {
console.log("Name: " + ctx.name); // "Operation #2"
});
b.name = "Operation #2";
b.start();