THank you Chris for your videos it is always calm and well explain, perfect for learning. Keep going 🚀
@Produlis4 ай бұрын
Couldn't be more happy with the updates you guys keep pushing!!
@DarrenBignall4 ай бұрын
Love this feature, and love Chris' videos, he explains things in a really engaging way!
@Appconnex4 ай бұрын
What a fantastic addition. That is very important for us. However, I have a question. Think of an invoice. We want the invoice lines (dozens) to be processed asynchronously. After the loop, the invoice lines need to be merged into one invoice. How can we ensure that after the loop, all the ‘background tasks’ have been completed before we proceed with the function?
@seanmontgomery24704 ай бұрын
There is a new await statement in the utility group.
@brayanjairduquepinto34393 ай бұрын
That awesome, however, how can I get the response result of those async functions? Maybe if something fails, I'd like to track the status of those async functions.
@nocodebackend3 ай бұрын
Hi there! For error handling and tracking failures, you can implement a try/catch block. While this isn't specific to async functions, it's a good practice for handling errors in general. docs.xano.com/working-with-data/functions/utility-functions#try-catch
@nocodebackend3 ай бұрын
there is an async await function in the utility group. That will wait for the result.
@roskul4 ай бұрын
How does this compare to post process function?
@nocodebackend4 ай бұрын
Post Process only executes after your API returns a response. Async functions allow you to continue performing other business logic while the async function runs in the background using dedicated resources.