-
Notifications
You must be signed in to change notification settings - Fork 33
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: Make use of statefulMap instead. #330
Conversation
c1bd8b0
to
753c2af
Compare
0ca2f82
to
a6350fc
Compare
@@ -47,18 +47,13 @@ private[google] object AnnotateLast { | |||
|
|||
def apply[T]: Flow[T, MaybeLast[T], NotUsed] = | |||
Flow[T] | |||
.map(Some(_)) | |||
.concat(Source.single(None)) |
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.
some kind of fs2
's noneTerminate
operator.
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.
lgtm - but can't be merged util we set up the 1.1 build - basically #325 plus a tag that I will add after 325 is merged
v1.1 commits are now allowed |
@pjfanning @mdedetrich can this be merged now? |
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.
lgtm and yes it can since we are on 1.1.0 now
Motivation:
Make use of statefulMap