The same as seq but accepts a function that gets run after each error and using that erro decides if continue
to try next functions.
Example
seqEarlyBreak( (e) =>e.message === "important error", () => { thrownewError("important error") }, () =>2, () =>3 ) // throws given important error, does not run next functions
The same as seq but accepts a function that gets run after each error and using that erro decides if continue to try next functions.
Example