| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
* A task is an item that can be enqueued and later exectued
class CRM_Queue_Task {
/**
- * Task was performed successfully
+ * Task was performed successfully.
*/
const TASK_SUCCESS = 1;
/**
- * Task failed and should not be retried
+ * Task failed and should not be retried.
*/
const TASK_FAIL = 2;
}
/**
- * Perform the task
+ * Perform the task.
*
* @param array $taskCtx
* Array with keys:
throw new Exception('Failed to call callback: ' . print_r($this->callback));
}
}
+
}