struct PagedHistoryStreamextension PagedHistoryStream : AsyncSequenceAn asynchronous sequence of pages of history items.
This stream handles the pagination logic, allowing you to iterate through pages of history results.
-
The type of element produced by this asynchronous sequence.
Declaration
Swift
typealias Element = HistoryQuery.Paged<HistoryItem> -
The type of asynchronous iterator that produces elements of this asynchronous sequence.
Declaration
Swift
typealias AsyncIterator = PagedHistoryStream.Iterator -
The type of errors produced when iteration over the sequence fails.
Declaration
Swift
typealias Failure = HomeError -
Creates an asynchronous iterator that produces elements of this sequence.
Declaration
Swift
func makeAsyncIterator() -> PagedHistoryStream.AsyncIterator -
An asynchronous iterator that produces pages of history items.
Declaration