Closed lihf8515 closed 8 years ago
Sorry, I'm not sure what you mean. Keep in mind that db_odbc is not asynchronous.
That I in "jester" how to deal with the database query and return value?
You mean "post" a block of statements if there is a time-consuming operation. The it has been wait until the operation is complete, continue to respond to requests from other clients?? if so, then how can it is asynchronous. Seems to be synchronized.
I'm sorry, I'm still not sure what you mean. Not all modules support asynchronous operation. The db_odbc
does not support asynchronous operation. You would need to write one which does. Jester supports asynchronous operation.
Perhaps I have a problem with asynchronous understanding, can you give me a test code to see it, I want to deepen the understanding of asynchronous. Especially for 'async/await' does not understand, thank you!
My code is as follows, open multiple browser windows, access program written by Jester the same address, submits the query to it, code to query the database statements, depending on the query condition, query time, ranging from the length of, why the browser window to send the request is the execution order, rather than asynchronous execution.