45     protected \ILIAS\BackgroundTasks\Value 
$output;
    60         foreach ($expectedTypes as $i => $expectedType) {
    62             if (!$givenType->isExtensionOf($expectedType)) {
    65                     . 
". Expected type $expectedType given type $givenType.");
    76         if (is_a($value, Value::class)) {
    77             return $value->getType();
    79         if (is_a($value, Task::class)) {
    80             return $value->getOutputType();
    93         $thunk->setParentTask($this);
   106         foreach ($values as $value) {
   107             if ($value instanceof 
Task) {
   108                 $inputs[] = $value->getOutput();
   109             } elseif ($value instanceof 
Value) {
   112                 $inputs[] = $this->wrapScalar($value);
   129         return static::class;
   140         foreach ($this->
getInput() as $input) {
   141             if (is_a($input, ThunkValue::class)) {
   142                 $list = array_merge($list, $input->getParentTask()->unfoldTask());
 ILIAS BackgroundTasks Value $output
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getRemoveOption()
Option An Option to remove the current task and do some cleanup if possible. This Option is displayed...
 
unfoldTask()
Unfold the task. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getAbortOption()
Option In case a Job is failed or did not respond for some time, an Abort-Option is displayed...