You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -425,14 +425,19 @@ $workflow = workflow(
425
425
storeThumb: async(
426
426
new StoreFile(),
427
427
file: response('thumb'),
428
-
path: variable('savePath'),
428
+
dir: variable('saveDir'),
429
429
),
430
430
storePoster: async(
431
431
new StoreFile(),
432
432
file: response('poster'),
433
-
path: variable('savePath'),
433
+
dir: variable('saveDir'),
434
434
)
435
435
);
436
+
$run = run(
437
+
$workflow,
438
+
image: __DIR__ . '/src/php.jpeg',
439
+
saveDir: __DIR__ . '/src/output/',
440
+
);
436
441
```
437
442
438
443
The graph for the Workflow above shows that `thumb` and `poster` run async, just like `storeThumb` and `storePoster` but the `store*` jobs run after the first dependency level gets resolved.
0 commit comments