[][src]Function osauth::stream::paginated

pub fn paginated<T>(
    builder: RequestBuilder,
    limit: Option<usize>,
    starting_with: Option<T::Id>
) -> impl Stream<Item = Result<T, Error>> where
    T: Resource + Unpin,
    T::Root: Into<Vec<T>> + Send

Creates a paginated resource stream.

Panics

Will panic during iteration if the request builder has a streaming body.