mast3rof0
CDCloudflare Developers
•Created by mast3rof0 on 5/10/2025 in #workers-help
Dev vs Production deployment
I think I understand. Ultimately, it comes down to understanding the forEach method and how it is processed compared to the entries method. Appreciate it!
9 replies
CDCloudflare Developers
•Created by mast3rof0 on 5/10/2025 in #workers-help
Dev vs Production deployment
If it is too in-depth of a discussion, I fully understand. Defnitely need to do some more work on this. But I did want to say thank you
9 replies
CDCloudflare Developers
•Created by mast3rof0 on 5/10/2025 in #workers-help
Dev vs Production deployment
@Viktor First, thank you for this. Unfortunately, I have not touched node/js in almost 10 years so a lot has changed. Still little perplexed as the this line seems to be where the problems lie but I can't say I truly understand why.
params.forEach(async (value, key) => vs for (const [key, value] of params.entries())
I thought the await env.DB statement would wait for the response before moving on to the next iteration of the loop.
9 replies