@edjgeek.bsky.social Hey Eric, can durable functions be suspended while they are inside a for loop? We have a lambda that is processing more data now and is hitting th 15min cap. I was wondering if I were to "wait" in between a loop, if the state about the loop index would be maintained.
Post
Yes! Each context.step() .wait() in a loop is a checkpoint. On replay, completed steps return cached results, the loop fast-forwards through finished iterations. If items are independent, context.map() gives you parallel processing with concurrency control. Just keep step names unique per iteration.
No replies yet.