Slide 30
Slide 30 text
Proprietary + Confidential
Parallel steps - parallelSteps:
parallel:
shared: [metadataResp, indexResp, collageResp]
branches:
- storeMetadataBranch:
steps:
- storeMetadata:
call: http.request
args: …
result: metadataResp
- indexPictureMetadataBranch:
steps:
- indexPictureMetadata:
call: http.post
args: …
result: indexResp
- collageCallBranch:
steps:
- collageCall:
call: http.get
args: …
result: collageResp
Branches of steps can be run
in parallel, with the parallel
keyword, and variables can be
shared with write access with
the shared keyword.