sweet_xml icon indicating copy to clipboard operation
sweet_xml copied to clipboard

stream_tags hangs when used with Stream.take

Open jyc opened this issue 1 year ago • 1 comments

Hello! Thanks for making sweet_xml!

The following code hangs:

"<feed></feed>" |> stream_tags(:feed) |> Stream.take(1) |> Enum.to_list

... but removing the Stream.take lets the code run to completion as expected:

"<feed></feed>" |> stream_tags(:feed) |> Enum.to_list

jyc avatar Jan 26 '24 00:01 jyc

Good find, I'll take a look on how to resolve it

Shakadak avatar Jan 30 '24 08:01 Shakadak