Jump to content

Synchronous Operations


shawdown

Recommended Posts

Hello everyone.

 

My project is set to EnableSynchronousOperations set to true.

 

I need to make a request from a json on a remote server, but this call may take some time to get up to 2 minutes.

 

How to capture this json without freezing my application?

So while waiting for this json to be captured I can go using the application.

Link to comment
Share on other sites

I'm doing a "chat" messaging system.

 

After the user login I make a request to an http server that only responds if a new message arrives or reaches a time limit of 120 seconds.

 

The problem is that when I make this request unigui is waiting for the response and it is not possible for the user to continue using the application.

 

I would like to know how to run this http request in the background without freezing the application. Because unigui is waiting for the http server response.

 

 

Sorry if I can not be very clear because I'm using Google Translate.

If necessary I can give an example of this situation.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...