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

A way to make an async pipe? #10

Open
melekes opened this issue Mar 31, 2021 · 0 comments
Open

A way to make an async pipe? #10

melekes opened this issue Mar 31, 2021 · 0 comments

Comments

@melekes
Copy link

melekes commented Mar 31, 2021

Hey 👋 I am wondering if you would be interested in introducing an option of making an async pipe. I know that it could be undesirable for this repo because it seems to be focused on sync version, but I've decided to ask just in case.

We had an issue in our tests which forced me to fork the repository and introduce 4 additional methods - informalsystems/tendermint-rs#853. Would you be interested in upstreaming the changes? OR maybe we could introduce a new argument capacity: int to pipe, bipipe, pipe_buffered, bipipe_buffered (all of them or just the last two?):

capacity -1 => unbounded()
capacity 0...N => bounded(x)

what do you think?

thanks 🙏

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

No branches or pull requests

1 participant