Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(context, executionContext) {
this._runner = makeExecutionRunner(context, {
execution: executionContext.job,
processAssignment: executionContext.assignment,
});
this._assets = new Assets(context, executionContext);
this._logger = makeLogger(context, executionContext, 'execution_runner');
this._assignment = executionContext.assignment;
Object.assign(this, executionContext);
this.config = executionContext.job;
this.queue = [];
this.reader = null;
this.slicer = null;
this.reporter = null;
this.queueLength = 10000;