You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When `true`, preserves the caller's stack trace in mapper errors for better debugging.
26
+
27
+
This adds the calling stack frames to errors thrown by the mapper function, making it easier to trace where the pMap call originated. However, it has some performance overhead as it captures stack traces upfront.
28
+
29
+
@default false
30
+
*/
31
+
readonlypreserveStackTrace?: boolean;
32
+
24
33
/**
25
34
You can abort the promises using [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
When `true`, preserves the caller's stack trace in mapper errors for better debugging.
68
+
69
+
This adds the calling stack frames to errors thrown by the mapper function, making it easier to trace where the pMapIterable call originated. However, it has some performance overhead as it captures stack traces upfront.
thrownewTypeError(`Expected \`backpressure\` to be an integer from \`concurrency\` (${concurrency}) and up or \`Infinity\`, got \`${backpressure}\` (${typeofbackpressure})`);
0 commit comments