-
Notifications
You must be signed in to change notification settings - Fork 604
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
Reimplemented Channel
in terms of Queue
#2856
Closed
djspiewak
wants to merge
28
commits into
typelevel:main
from
djspiewak:feature/non-primitive-channel
Closed
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
561b9c3
Reimplemented `Channel` in terms of `Queue`
djspiewak 8e45c91
Adjusted take race to avoid element loss on close
djspiewak dfabc5d
Updated to snapshot with `tryTakeN`
djspiewak 831bd31
Merge branch 'main' into feature/non-primitive-channel
djspiewak 4d1112b
Fixed `sendAll` upstream management for early closure
djspiewak 4248a64
Scalafmt
djspiewak 491186d
Upgraded to Scala 3.2.0
djspiewak 76bfd1a
Merge branch 'main' into feature/non-primitive-channel
armanbilge 1d6574f
Update core/shared/src/main/scala/fs2/concurrent/Channel.scala
djspiewak 2fab62e
Merge branch 'main' into feature/non-primitive-channel
djspiewak 3ff9ee2
Fixed race condition between offer, take, and close
djspiewak a60219b
Revert "Fixed race condition between offer, take, and close"
djspiewak 58dfbb0
Fixed race condition between offer, take, and close
djspiewak 26d832b
Fixed shadowing warning
djspiewak 9e21329
Treat any topic bound over `Short.MaxValue` as unbounded
djspiewak 6063707
Added a little extra doc
djspiewak 0ea3d72
Beefed up tests and updated to fixed CE snapshot
djspiewak 487d6a8
Reimplemented `Channel` with strictly less `racePair`
djspiewak e0c2c78
Improved efficiency of `stream` pulling
djspiewak ccebad8
Avoid being too slow on scalajs
djspiewak 368bc4b
Merge branch 'main' into feature/non-primitive-channel
djspiewak 16f8a8d
`close` needs to be atomic
djspiewak 6ba1126
Reworked `loop` to use `Pull` directly; trying to diagnose
djspiewak 349e3e3
Removed debugging logic and brought in CE snapshot with fix
djspiewak 1dfd72d
Merge branch 'main' into feature/non-primitive-channel
djspiewak a39f26a
Removed stray `only`
djspiewak 4a70080
Refactored two `Ref`s into one
djspiewak 9c8e420
Eagerly fulfill `closed`
djspiewak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh, why dump all of these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can bring them back. I think I chopped them out a while ago.