You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move awslambda HttpResponseStream/streamifyResponse to the aws-sdk or its own package? #74
The fact that streamifyResponse and HttpResponseStream are only available embedded in the runtime makes it difficult to write simple, coherent unit tests for streaming lambda handlers. There's been at least one good attempt to create a wrapper to support easy testing, but it's not completely interface compatible (lacking, for example, the HttpResponseStream.from(underlyingStream, prelude) method) and it seems wasteful to rewrite/repackage code that's already written just to unbundle it from the rest of the NodeJS runtime.
Agreed. Having hard time getting any typings and proper tests. At the same time, it seems like it's still under development and we are experiencing changes in behaviour multiple times a week for a past month. Any more details, examples, etc. would be appreciated.
Does anybody know if streamifyResponse or HttpResponseStream is actually documented anywhere!? I only heard about them after prompting an LLM to death but it's exactly what I need, but would like docs...
Activity
sladg commentedon Sep 11, 2023
Agreed. Having hard time getting any typings and proper tests. At the same time, it seems like it's still under development and we are experiencing changes in behaviour multiple times a week for a past month. Any more details, examples, etc. would be appreciated.
richardscarrott commentedon May 29, 2025
Does anybody know if
streamifyResponseorHttpResponseStreamis actually documented anywhere!? I only heard about them after prompting an LLM to death but it's exactly what I need, but would like docs...mbklein commentedon May 30, 2025
This is all the documentation I've found.
richardscarrott commentedon May 30, 2025
Yeah, that's all I could find too — learning fast that AWS/Lambda can be a bit of a wild west 😅