You are not logged in.
Pages: 1
Does mormot support asynchronous access?
Offline
What do you mean?
From the client side, on a UI?
Use a background thread, then send messages to the UI thread. There is even a direct thread redirection to the VCL thread for interface-based services.
See https://synopse.info/files/html/Synopse … l#TITL_191
Offline
I mean restapi provides asynchronous callbacks
Offline
Do you mean https://synopse.info/files/html/Synopse … l#TITL_149 ?
(please always check the doc first)
Offline
@ab, There is also an unanswered question about this subject here https://synopse.info/forum/viewtopic.php?pid=28888
Can you explain this subject more?
AsynchRedirect seems the best way to implement asynchronous calls especially when you do not have a UI and using Linux so does not have Windows messages and want to prevent locks in case of calling server in a callback.
Last edited by mohsenti (2019-01-24 13:00:19)
Offline
Pages: 1