Releases: grimmbraten/all-aboard
Releases · grimmbraten/all-aboard
v2.0.0
BREAKING CHANGES
Shared arguments are no longer passed as separate arguments to the sequence
or parallel
functions.
await sequence(asyncFuncArr, "foo", "bar");
These shared arguments are now instead passed as an array in a single argument.
await sequence(asyncFuncArr, ["foo", "bar"]);
Other changes
- Error handling for incorrect values for parameters has been improved.
- The
sequence
function now accepts aneject
boolean (defaults tofalse
) that determines if it should eject back on the main thread if it encounters a rejection. - The responses for both functions have been improved and follow the Promise.allSettled() response structure.
- The README documentation has been updated to better explain the functions, different use-cases, and argument handling.
v1.0.0
The first release of the all-aboard
npm package. The small Javascript library that helps you run sequence and/or parallel asynchronous functions with ease.