I'm unsure of the best way to implement a fan-out pattern using Workflows. I fetch a list of files,

I'm unsure of the best way to implement a fan-out pattern using Workflows. I fetch a list of files, and want to process each one. Should I loop over the files and call step.do, awaiting them all with await Promise.all? Or should I trigger a new "file-process" workflow instance for each of them?
Was this page helpful?