Skips all upcoming operations that matches a predicate.

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

var b = Batch.newBatch(function(ctx) {
    ctx.skipWhile((ctx2) => {
        return ctx2.index < 3;
    });
}).then(function(ctx) {
    // [1] NOT invoked
}).then(function(ctx) {
    // [2] NOT invoked
}).then(function(ctx) {
    // [3] invoked
}).then(function(ctx) {
    // [4] invoked
});

b.start();