Support for Return Statements in Custom Code Action
What’s new?
- We are pleased to introduce an improvement to our custom code feature by enabling the use of return statements in asynchronous functions.
Previous Behaviour
- Users could write asynchronous code and attach responses to a global output variable.
New Behaviour
- Now, users can also return a response directly from their custom code.
Why?
- This improvement allows for a more streamlined coding experience, making it easier to write, debug, and manage custom asynchronous code.
- This new capability simplifies handling asynchronous operations and improves the overall efficiency of custom scripts.