Right now, HTTP calls in Orbeon Forms are generally synchronous. When we start an async submission, we still use the synchronous API, but we wrap it inside a worker thread using an ExecutorCompletionService.
However, we should instead try to use async APIs all the way. See doc.
With the JS environment, we are using Future (#4077).
Right now, HTTP calls in Orbeon Forms are generally synchronous. When we start an async submission, we still use the synchronous API, but we wrap it inside a worker thread using an
ExecutorCompletionService
.However, we should instead try to use async APIs all the way. See doc.
With the JS environment, we are using
Future
(#4077).