Unverified Commit 15f18c01 authored by Alexandru Vasile's avatar Alexandru Vasile
Browse files

Make `pipe_from_try_stream` public


Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>
parent 348f3668
......@@ -1077,7 +1077,7 @@ impl SubscriptionSink {
/// Ok(())
/// });
/// ```
async fn pipe_from_try_stream<S, T, E>(&mut self, mut stream: S) -> SubscriptionClosed
pub async fn pipe_from_try_stream<S, T, E>(&mut self, mut stream: S) -> SubscriptionClosed
where
S: TryStream<Ok = T, Error = E> + Unpin,
T: Serialize,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment