Skip to content

Commit

Permalink
doc(sdk): Update documentation of SlidingSyncList::state_stream.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Jun 15, 2023
1 parent 0ff9073 commit d935f52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/matrix-sdk/src/sliding_sync/list/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ impl SlidingSyncList {
///
/// There's no guarantee of ordering between items emitted by this stream
/// and those emitted by other streams exposed on this structure.
///
/// The first part of the returned tuple is the actual loading state, and
/// the second part is the `Stream` to receive updates.
pub fn state_stream(
&self,
) -> (SlidingSyncListLoadingState, impl Stream<Item = SlidingSyncListLoadingState>) {
Expand Down

0 comments on commit d935f52

Please sign in to comment.