Versions Compared

Key

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


Info

This option was added in Profound.js 6.0.0


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().

Valid values are:

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

If this option is not specified, the default behavior is "transform".