how do I use the result of the last step of a for loop in the next iteration?
I have read and re-read the docs, asked AI, etc.
It seems like it should be so obvious, but I can't pass a value from the last step in a for loop's iteration to the first step in the next iteration. I was using flow state, but that doesn't work in a dedicated worker.
What am I missing?
1 Reply
flow state is the right way, we will have to fix it for dedicated workers
in the mean time you can setResource at a specific path
it's not ideal