HelpWizard Pages ReferenceManual5 C/en: Unterschied zwischen den Versionen

Aus expecco Wiki (Version 2.x)
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „== Reference Manual C API (Async / Callbacks) == link=HelpWizard Pages ReferenceManual5/en|back * '''ex_wait'''()<br>tells expecco, tha…“)
 
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
[[Datei:arrowleft.png|link=HelpWizard Pages ReferenceManual4 C/en|previous]]
== Reference Manual C API (Async / Callbacks) ==
[[Datei:arrowup.png|link=HelpWizard Pages ReferenceManual5/en|up]]
[[Datei:arrowright.png|link=HelpWizard Pages ReferenceManual6 C/en|next]]


== Reference Manual C API (Async / Callbacks) ==
[[Datei:arrowup.png|link=HelpWizard Pages ReferenceManual5/en|back]]


* '''ex_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>Use this if the action gets a callback from an asynchronous function or a separate thread. The callback function MUST then call one of the success() / inconclusive() / fail() or error() functions to signal completion to expecco.<br>This should be the last statement/expression before the execute function returns.
* '''ex_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>Use this if the action gets a callback from an asynchronous function or a separate thread. The callback function MUST then call one of the success() / inconclusive() / fail() or error() functions to signal completion to expecco.<br>This should be the last statement/expression before the execute function returns.
:
:Notice the different name: there is already a function called "wait()"in the c-library.


[[Category: HelpWizard/en]]
Notice the different name: there is already a function called "wait()"in the c-library.
[[Category: HelpWizard API/en]]
[[Category: HelpWizard API C/en]]

Aktuelle Version vom 10. März 2021, 20:01 Uhr

previous up next

Reference Manual C API (Async / Callbacks)[Bearbeiten]

  • ex_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().
    Use this if the action gets a callback from an asynchronous function or a separate thread. The callback function MUST then call one of the success() / inconclusive() / fail() or error() functions to signal completion to expecco.
    This should be the last statement/expression before the execute function returns.
Notice the different name: there is already a function called "wait()"in the c-library.



Copyright © 2014-2024 eXept Software AG