Skip to main content

page

Function page 

Source
pub async fn page(
    pool: &PgPool,
    after_row_id: Option<RowId>,
    limit: Limit,
) -> Result<Vec<PagedEvent>, PageError>
Expand description

Reads a bounded live page after after_row_id.

This operation does not lock or mutate delivery rows. None starts before the first event. Separate calls do not share a snapshot, so a caller that requires finite completeness should use begin_snapshot instead.