Skip to content

rename stream::join to Stream::merge #321

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

Merged
merged 4 commits into from
Oct 13, 2019
Merged

rename stream::join to Stream::merge #321

merged 4 commits into from
Oct 13, 2019

Conversation

yoshuawuyts
Copy link
Contributor

@yoshuawuyts yoshuawuyts commented Oct 13, 2019

Feedback from Boats was that stream::join may not be the right name because the output isn't polymorphic the way future::join is.

This PR changes stream::join! macro to the Stream::merge method, mirroring Rx's merge method. Also conveniently makes it similar to Stream::zip and Stream::chain in use. Thanks!

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
@yoshuawuyts yoshuawuyts added the enhancement New feature or request label Oct 13, 2019
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
@yoshuawuyts yoshuawuyts added this to the 0.99.10 milestone Oct 13, 2019
@yoshuawuyts yoshuawuyts merged commit 454018e into master Oct 13, 2019
@yoshuawuyts yoshuawuyts deleted the stream_merge branch October 13, 2019 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant