We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6be7a19 commit 13fbea4Copy full SHA for 13fbea4
src/workflows/workflow.js
@@ -30,12 +30,18 @@ export class Workflow extends BaseWorkflow {
30
31
static jsonSchema = workflowSchema;
32
33
- constructor(config) {
+ constructor(
34
+ config,
35
+ _Subworkflow = Subworkflow,
36
+ _UnitFactory = UnitFactory,
37
+ _Workflow = Workflow,
38
+ _MapUnit = MapUnit,
39
+ ) {
40
super(config);
- this._Subworkflow = Subworkflow;
- this._UnitFactory = UnitFactory;
- this._Workflow = Workflow;
- this._MapUnit = MapUnit;
41
+ this._Subworkflow = _Subworkflow;
42
+ this._UnitFactory = _UnitFactory;
43
+ this._Workflow = _Workflow;
44
+ this._MapUnit = _MapUnit;
45
if (!config.skipInitialize) this.initialize();
46
}
47
0 commit comments