-
Notifications
You must be signed in to change notification settings - Fork 4
TaskResponse
Rehan Iftikhar edited this page Jul 15, 2012
·
1 revision
When a task
emits an "eval"
event, the second parameter in the callback in an instance of a TaskResponse
object. It holds information about the task
's evaluation.
-
getEvaluation()
(String) - The last evaluated expression from thetask
's code. -
getGlobals()
(JSON Object) - Theglobal
object after the task was evaluated. -
getTaskId()
(String) - Thetask
's UUID -
isError()
(Boolean) - Thetask
threw an error during evaluation. The exact error can be found ingetEvaluation()
.