Sfairadora

  • Reference Guide

Waiting Functions

As Sfairadora allows more than one expression to be executed simultaneously, there are functions serving to synchronize simultaneous execution through waiting.
In Sfairadora, a function (expression) can be executed either synchronously or asynchronously. The synchronous execution means that all other functions and the entire application (Sfairadora) wait, until the function execution terminates. During the synchronous execution, the user cannot control the application. If the execution takes too long time, a message window is displayed that enables the user to cancel the execution. Setters, getters, validators and handler functions are some typical examples of synchronously evaluated functions. For a button, it is possible to decide whether its function will be executed synchronously or asynchronously.
If a function is executed asynchronously, other asynchronous functions are executed in parallel with it, and the user can still work with Sfairadora during the execution. Asynchronously executed functions include evaluation of computed items, sequence filter, attributes defined by a function, and other.
The usage of waiting functions in synchronously evaluated functions is substantially limited, as described with individual functions.

Overview

●
wait
●
yield