-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
I'm currently using OpenWorkflow and it's all fine, but our app needs to get data from a third party API and that data can become pretty big so storing/retrieving the step result is quite slow.
Currently this data fetching happens in a single step, but I was thinking about splitting it into multiple steps (we call the same api's multiple times with different input data).
Would having a dynamic number of steps feasible? Would this not conflict somehow with the problems mentioned in the versioning documentation?
e.g. code
await Promise.all(
myDynamicLengthArray.map((data, index) => {
return step.run({ name: `fetch-data-$index{}` }, () => { ... })
}
)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested