Skip to content

Commit

Permalink
Doc comment about acknowledged messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
rubdos committed Jul 13, 2020
1 parent 2658326 commit 7ad2e31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libsignal-service/src/messagepipe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ impl<WS: WebSocketService> MessagePipe<WS> {
}

/// Returns the stream of `Envelope`s
///
/// Envelopes yielded are acknowledged.
pub fn stream(self) -> impl Stream<Item = Result<Envelope, ServiceError>> {
let (sink, stream) = mpsc::channel(1);

Expand Down

0 comments on commit 7ad2e31

Please sign in to comment.