Wait for background task to complete?

Thank you so much for the suggestion! I’ll play around with scheduled tasks to see if it can fit my needs.

In the meantime though, just at a cursory glance, would this sort of implementation work if the asynchronous functions I use rely on data that’s received when the overall app receives the webhook it’s listening for?

Like some event handler for when a webhook is received?