Asynchronous Services and Reports

Uniface enables services and reports to run in parallel. By default, services and reports run in synchronous communication mode. Each time the component activates an operation, it waits until the operation completes before proceeding.

You can make processes explicitly synchronous by activating components using the /sync switch.

You can make services and report asynchronous by setting the appropriate Communication Default property or activating them with the /async switch. Each time the component activates an operation, it proceeds to its next ProcScript statement without waiting for the operation to complete.

Services and reports running asynchronously increase the risk of contention. The asynchronous communication mode should be applied only if it is meaningful.

Related Topics