Re: [elixir-core:12013] [Proposal] Make `StringIO` accept stream as an input

2025-02-07 Thread José Valim
That sounds reasonable and I would be curious to see how a proof of concept of this would look like in practice. Given we can suspend streams, we should be able to consume/emit items one by one. This is similar how to GenStage converts streams into stages. *José Valimhttps://dashbit.co/

[elixir-core:12013] [Proposal] Make `StringIO` accept stream as an input

2025-02-07 Thread Łukasz Niemier
The reason for this is simple. There are some functionalities in Erlang that do not take Elixir's Streams into consideration (no surprise there), but it still would be useful to utilise them. In my particular case I am fetching file from S3 using ExAWS, which streams file content. That particul