MCPcopy Index your code
hub / github.com/caolan/async / newTask

Function newTask

lib/autoInject.js:136–142  ·  view source on GitHub ↗
(results, taskCb)

Source from the content-addressed store, hash-verified

134 }
135
136 function newTask(results, taskCb) {
137 var newArgs = arrayMap(params, function (name) {
138 return results[name];
139 });
140 newArgs.push(taskCb);
141 wrapAsync(taskFn).apply(null, newArgs);
142 }
143 });
144
145 auto(newTasks, callback);

Callers

nothing calls this directly

Calls 1

wrapAsyncFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…