ilhamUwais Member since 2010 7 posts
Posted: July 8, 2017
Last activity: July 10, 2017

Non-blocking UI and Server Calls


The background behind this question is that we arev tryign to achieve non-blocking UI for an application screen.

We were able to achieve it using asynchronous data-pages and activities.

When using asynchronous calls, we expect the activity to run in a background without the need for the invoked activity to wait. That is working fine.

However, we are unable to invoke any other server calls while the asynchrnous activity is running.

For example:

On a button click I am calling an activity. This activity calls an asynchronous activity. The Asynchronous activity has a wait method with a value of 30 seconds for testing purpose.

After the button is clicked, any other components that require a server side call (example: auto complete) is not working for 30 secs.

Is this an expected behaviour? is there a way to achieve both non-blocking UI and server calls?

User Interface
Moderation Team has archived post
Share this page LinkedIn