stack

Home > @infiniteobjects/core-library-web > AsyncMapOptions > stopOnError

AsyncMapOptions.stopOnError property

When set to false, instead of stopping when a promise rejects, it will wait for all the promises to settle and then reject with an [aggregated error](https://github.com/sindresorhus/aggregate-error) containing all the errors from the rejected promises.

true

Signature:

readonly stopOnError?: boolean;