HelpWizard Pages ReferenceManual5/en: Unterschied zwischen den Versionen

Aus expecco Wiki (Version 2.x)
Zur Navigation springen Zur Suche springen
Zeile 10: Zeile 10:
[Python]
[Python]
[JavaScript builtin]
[JavaScript builtin]
[[HelpWizard Pages ReferenceManual5 Smalltalk | [Smalltalk builtin] ]]
[[HelpWizard Pages ReferenceManual5 Smalltalk/en | [Smalltalk builtin] ]]


* '''wait'''()<br>tells expecco, that although the execute() function will return, the action is still active, and that there will be a callback at some later time, which will report the outcome via success() / error() / fail().<br>Needed especially for NodeJS, which makes heavy use of asynchronous callbacks (futures).<br>Should be the last statement/expression before the execute function returns.
* '''wait'''()<br>tells expecco, that although the execute() function will return, the action is still active, and that there will be a callback at some later time, which will report the outcome via success() / error() / fail().<br>Needed especially for NodeJS, which makes heavy use of asynchronous callbacks (futures).<br>Should be the last statement/expression before the execute function returns.

Version vom 10. März 2021, 19:52 Uhr

back back

Reference Manual (Async / Callbacks)[Bearbeiten]

[C] [Java] [Node] [Python] [JavaScript builtin] [Smalltalk builtin]

  • wait()
    tells expecco, that although the execute() function will return, the action is still active, and that there will be a callback at some later time, which will report the outcome via success() / error() / fail().
    Needed especially for NodeJS, which makes heavy use of asynchronous callbacks (futures).
    Should be the last statement/expression before the execute function returns.



Copyright © 2014-2024 eXept Software AG