Skip to content

Interface: PagedRead

Defined in: pages.ts:50 (opens in a new tab)

A read paged to its end: every event it read, and how each relay's read ended.

PropertiesLink to this section

PropertyTypeDescriptionDefined in
eventsNostrEvent[]Every distinct event read, newest first.pages.ts:52 (opens in a new tab)
pagesnumberREQs made.pages.ts:60 (opens in a new tab)
relayStatus?{ eose: boolean; relay?: string; state: PagedReadState; }[]Per relay, how its read ended. Absent when the query named no relay.pages.ts:54 (opens in a new tab)
truncatedbooleanA relay that may hold more was stopped: by a bound, by a second holding more than it sends in a page, or by a page size it declares below the page that ends a read (MIN_PAGE, or limit when smaller).pages.ts:58 (opens in a new tab)