Error handler that ignores all errors during the pipeline execution and discards the values, i.e.

function* gen() {
yield 1;
throw new Error("test error");
yield 3;
}

const stream = new ArrayStream(gen, new Settler())
.map(x => {
if (x === 3) {
throw new Error("test error");
}
return x;
})
.collect();
// [1]

Implements

Constructors

Methods