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] Copy
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]
Returns the data that was able to be compiled as is.
Ignores the error when an error occurs during iteration.
Ignores the error when an error occurs during an operation.
Error handler that ignores all errors during the pipeline execution and discards the values, i.e.