You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any worker should return Worker::RESULT_SUCCESS or Worker::RESULT_FAILURE to define if it was successful or not (or not return anything if we want to count all executions as successful). In the example shown in the readme the fibonacci function returns an int. If you call it with the value 1 it will return 1 and this will be interpreted as a job failure. This should be modified to show the right usage of the return values
The text was updated successfully, but these errors were encountered:
Any worker should return
Worker::RESULT_SUCCESS
orWorker::RESULT_FAILURE
to define if it was successful or not (or not return anything if we want to count all executions as successful). In the example shown in the readme thefibonacci
function returns an int. If you call it with the value1
it will return1
and this will be interpreted as a job failure. This should be modified to show the right usage of the return valuesThe text was updated successfully, but these errors were encountered: