Skip to content

Is there a function/helper/class to connect two streams together? #825

Answered by AArnott
JohnKiller asked this question in Q&A
Discussion options

You must be logged in to vote

Nerdbank.Streams doesn't have anything for this IIRC, because it's trivial to do with existing APIs in .NET:

Task connectedTask = Task.WhenAll(one.CopyToAsync(other), other.CopyToAsync(one));

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JohnKiller
Comment options

Answer selected by JohnKiller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants