App UI is not responding

Hi team,

I built an app and experienced a situation where the UI of the app is not responding when there is something running in the background, such as a REST API query to fetch data, which is triggered in an event.

My question is, how can we set priority for the UI, so it will always be responsive? Second question is, how to set the event-triggered processes to asynchronous?

Currently it’s quite random / uncontrolled in my Appgyver development how the UI responds when the events can trigger anytime.

Thanks.