-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Miniflare supports more TransformStream functionality than Workers #168
Comments
I created a small repo at https://github.com/leviwolfe/miniflare-168 which I think reproduces this issue. |
Hey! 👋 This is an issue with all the stream constructors ( |
Thanks, I'll have to look into that flag! Funny enough the Cloudflare team said almost the exact same thing a few years back: https://community.cloudflare.com/t/running-into-unimplemented-functionality/77343/6 |
Hey again! 👋 The latest Workers Runtime adds a |
Miniflare supports passing the transformer argument to the TransformStream constructor. This worked for me and I could see chunks being passed to my transformer's transform method. Once I deployed this code to Cloudflare, the transform method is no longer called.
Cloudflare's Worker documentation for the TransformStream constructor makes no mention of the transformer argument. It only mentions:
It seems like Cloudflare is ignoring the transformer argument, so perhaps Miniflare should as well? It is a platform difference that cost quite a bit of time to debug.
The text was updated successfully, but these errors were encountered: