Skip to content
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

stream_tags hangs when used with Stream.take #97

Open
jyc opened this issue Jan 26, 2024 · 1 comment
Open

stream_tags hangs when used with Stream.take #97

jyc opened this issue Jan 26, 2024 · 1 comment

Comments

@jyc
Copy link

jyc commented Jan 26, 2024

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
@Shakadak
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants