Prev | Next | mainResponder Verbs > mainResponder.callbackLoop |
mainResponder.callbackLoop
Syntax |
mainResponder.callbackLoop (adrcallbacktable, adrparamtable)
|
Params |
adrcallbacktable is the address of a table. adrparamtable is the address of the parameter table created by Frontier's responder framework.
|
Action |
Loops through the table specified by adrcallbacktable and calls every script it finds via the callScript verb, making the contents of the table specified by adrparamtable appear as globals to the called script.
|
Returns |
The return value of the last script that was executed.
|
Examples |
mainResponder.callbackLoop (@config.mainResponder.callbacks.addMessage, pta) |
Notes |
To abort the callback loop, a callback script can throw a scriptError.
|
Prev | Next | mainResponder Verbs > mainResponder.callbackLoop |