Defines if next operation should be skipped or not.

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

var b = Batch.newBatch(function(ctx) {
    ctx.skipNext();
}).then(function(ctx) {
    // [1] NOT invoked
}).then(function(ctx) {
    ctx.skipNext(false);
}).then(function(ctx) {
    // [3] invoked
}).then(function(ctx) {
    // [4] invoked
});

b.start();