Sets the initial execution value for all operations.
import Batch = require("nativescript-batch");
var b = Batch.newBatch(function(ctx) {
console.log("Value: " + ctx.value); // 23979
}).then(function(ctx) {
ctx.setValue(5979);
}).then(function(ctx) {
console.log("Value: " + ctx.value); // 5979
}).setValue(23979);
b.start();