Effect CommunityEC
Effect Community3y ago
8 replies
wayne

Limitation of `Http.response.stream` type

Is there a good reason why Http.response.stream is limited to expecting a Stream<never, unknown, Uint8Array>?
For NodeJS, it should work with Stream<never, unknown, string | Buffer | Uint8Array>
Is this limitation due to the cross-platform nature of the ServerResponse?
Was this page helpful?