Skip to main content

paper_stream

Function paper_stream 

Source
pub fn paper_stream<T: Source + Clone + 'static>(
    source: T,
    query: SearchQuery,
    page_size: usize,
) -> impl Stream<Item = Paper> + Send
Expand description

Create a stream that yields papers one at a time from paginated search results.

This allows processing large result sets without loading everything into memory at once. The stream automatically handles pagination and rate limiting.