Versions Compared

Key

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



Warning

This API is deprecated, starting in Profound.js 6. If running Profound.js 6 or higher, use Node's util.promisify() and async/await instead. See here for an example.

This API calls an asynchronous function in a top-down manner within a fiber.

...

  • The function to call. The API assumes that the function accepts a callback as its last parameter in the following format:
        function(error, response) 
    This . This is typical for almost all asynchronous Node.js requests. You don't have to pass the callback to the API -- it is automatically appended.
  • Function parameters (optional, multiple parameters can be passed)

...