diff --git a/src/Context_Nodes.js b/src/Context_Nodes.js index 96b9b24..90bc245 100644 --- a/src/Context_Nodes.js +++ b/src/Context_Nodes.js @@ -240,10 +240,11 @@ export class Fork_Node extends Context_Node{ var task = new Task(forked_key, key); forked_key+=1; self.addTask(task); - task.complete(newDatum); + task.stored_result = newDatum; newTasks.push(task); }); newTasks.forEach(function(task){ + task.complete(task.stored_result); self.publishResult(task); }); });