Sfairadora

  • Reference Guide

yield

yield()
The functions forces execution of the handler functions and synchronization of the document sections with their respective definition sections. For example, it is necessary to call this function, when a change is made in a definition section and it is further assumed that the effect of the definition change has already taken place (e.g. to ensure, that the changes in the Data Type section is really reflected in the Data section.
The yield function can be called in both synchronous and asynchronous functions. If the yield function is not called, in the case of a synchronous execution, possible synchronizations take place after the synchronously executed function is terminated. In the case of an asynchronous execution, synchronizations are performed at an undefined moment during the execution or after it.
The function returns the value NONE.