Support for asynchronous function stack statements

Hello,

Would it possible to provide an example of how to run statements in parallel through Lambda Promises?

For my usecase, I'm trying to respond an immediate 200 OK response to the Slack API (must be within 3 seconds) before continuing the rest of my function (that takes about 10 seconds).

Without the immediate 200 OK response, I receive an error from Slack - and app is potentially banded after too many errors.

There was a comment in the roadmap mentioning this was possible, as well as a previous post called: 'Async execution: send endpoint reply immediately after receiving webhook and execute the rest'

https://xano-community.bettermode.io/product-feedback-xjjbnyli/post/support-for-asynchronous-function-stack-statements-BYUwhA4jZ6FCjJl

https://xano-community.bettermode.io/start-a-discussion/post/async-execution-send-endpoint-reply-immediately-after-receiving-webhook-Prsncilz4poagtG

11 replies