HelpWizard Pages ReferenceManual5/en: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Cg (Diskussion | Beiträge) |
Cg (Diskussion | Beiträge) |
||
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
⚫ | |||
[[Datei:arrowleft.png|link=HelpWizard Pages ReferenceManual4/en|back]] |
[[Datei:arrowleft.png|link=HelpWizard Pages ReferenceManual4/en|back]] |
||
[[Datei:arrowright.png|link=HelpWizard Pages ReferenceManual6/en| |
[[Datei:arrowright.png|link=HelpWizard Pages ReferenceManual6/en|next]] |
||
⚫ | |||
Zeile 10: | Zeile 10: | ||
[Python] |
[Python] |
||
[JavaScript builtin] |
[JavaScript builtin] |
||
[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. |
||
[[Category: HelpWizard/en]] |
|||
[[Category: HelpWizard API/en]] |
Aktuelle Version vom 10. März 2021, 20:05 Uhr
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.