Skips all upcoming operations.
import Batch = require("nativescript-batch");
var b = Batch.newBatch(function(ctx) {
// do something that does not
// invoke skipAll()
}).then(function(ctx) {
ctx.skipAll();
}).then(function(ctx) {
// [2] NOT invoked
}).then(function(ctx) {
// [3] NOT invoked
}).then(function(ctx) {
// [4] NOT invoked
});
b.start();