Add taskworker that runs funcs out of process
This commit is contained in:
@@ -19,7 +19,7 @@ function postProcess(result) {
|
||||
assert.strictEqual(typeof result, 'object');
|
||||
|
||||
assert(result.argsJson === null || typeof result.argsJson === 'string');
|
||||
result.args = safe.JSON.parse(result.argsJson) || {};
|
||||
result.args = safe.JSON.parse(result.argsJson) || [];
|
||||
delete result.argsJson;
|
||||
|
||||
result.id = String(result.id);
|
||||
|
||||
Reference in New Issue
Block a user