My issue is that in production, my lambda code, runs and returns the entire body at once. I tested it with the following code, adding delays to check for response delivery. The lambda function is already set to RENSPONSE_STREAM and not BUFFER.
I'm calling the lambda url directly, not passing through Api gateway as I know its not supported.
I don't know whan else to try, please help.
My issue is that in production, my lambda code, runs and returns the entire body at once. I tested it with the following code, adding delays to check for response delivery. The lambda function is already set to RENSPONSE_STREAM and not BUFFER. I'm calling the lambda url directly, not passing through Api gateway as I know its not supported. I don't know whan else to try, please help.
lambda function:
SST stack
This is the function url https://wphwlqy64yzmoyeuiokt7t6asy0cwqfb.lambda-url.eu-south-1.on.aws/