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

chore: apply comments from #27 to existing code in SourceOps.scala #28

Merged
merged 5 commits into from
Oct 30, 2023

Conversation

geminicaprograms
Copy link
Contributor

@geminicaprograms geminicaprograms commented Oct 27, 2023

The following comments were applied:

@geminicaprograms geminicaprograms self-assigned this Oct 27, 2023
@geminicaprograms geminicaprograms force-pushed the chore_improvements branch 2 times, most recently from 4e3c7f2 to 2a27de1 Compare October 27, 2023 12:02
@@ -515,56 +514,58 @@ trait SourceOps[+T] { this: Source[T] =>
}
c

/** Returns the first element from this source wrapped in `Some` or `None` when the source is empty or fails during the receive operation.
* Note that `headOption` is not an idempotent operation on source as it receives elements from it.
/** Returns the first element from this source wrapped in [[Some]] or [[None]] when the source is empty. Note that `headOption` is not an
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Base automatically changed from feat_lastOption_last to master October 30, 2023 12:41
The `scope` should be only used in internals.
The `ChannelClosed.Error` offers convenient `toThrowable` function. It
should be favoured over the new functionality development.
As mentioned in #27.
@geminicaprograms geminicaprograms merged commit 4fc8379 into master Oct 30, 2023
4 checks passed
@geminicaprograms geminicaprograms deleted the chore_improvements branch October 30, 2023 13:18
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.

4 participants