Skip to content

Conversation

@poliez
Copy link

@poliez poliez commented Nov 4, 2019

As I said in (this PR)[https://github.com/Spinoco/pull/33] the problem you had could have been related to the tests.

Today I played some more with the example and noticed that fs2.concurrent.Queue.synchronous[F, A] can only contain one element at a time (which means that using this data structure for the implementation couldn't make it work).

Using an unbounded Queue in the implementation of internal.takeThroughDrain solves the issue. I don't know if this changes the intended semantic of the author in some way but we could propose something based on this changes and finally update fs2-mail to fs2 2.0.1!

P.S. I bumped the scala and sbt version only to make metals work. Probably the first two commits in this PR can be dropped.

This pull request was closed.
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

Successfully merging this pull request may close these issues.

1 participant