Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This option controls the behavior of Profound.js's module transformation process when calls to async Profound.js APIs are detected within an array iteration function, such as forEach().

See section What is Module Transformation? in Coding With Promises in Profound.js for more information.

Valid values are:

  • "none": Do nothing
  • "warn": Log a message to stderr for each detected case
  • "throw": Throw an error for the first detected case
  • "transform": Attempt to transform the coding so that the array iteration functions will run in series

...

Code Block
languagejs
titleSet in config.js
"asyncArrayIteration": "throw"

Click here for information on how to modify this setting.

...