herbsjs / buchu

Use Cases - Uniform, auditable and secure use case library
Other
23 stars 22 forks source link

Parallels steps #28

Open endersoncosta opened 3 years ago

endersoncosta commented 3 years ago

Sometimes we need to do steps without await, or await just after the steps are finished. What you think about create an type of nested step that just will execute all steps, and the last step catch and treat the results if necessary?

dalssoft commented 3 years ago

Could you give a more concrete use case for this kind of step?

And how do you think it should be implemented ('step': parallelStep())?