PagedHomeBriefsStream

struct PagedHomeBriefsStream
extension PagedHomeBriefsStream : AsyncSequence

An asynchronous sequence of pages of home briefs.

This stream handles the pagination logic, allowing you to iterate through pages of briefs.

  • The type of element produced by this asynchronous sequence.

    Declaration

    Swift

    typealias Element = [HomeBrief]
  • The type of asynchronous iterator that produces elements of this asynchronous sequence.

    Declaration

    Swift

    typealias AsyncIterator = PagedHomeBriefsStream.Iterator
  • Creates an asynchronous iterator that produces elements of this sequence.

    Declaration

    Swift

    func makeAsyncIterator() -> PagedHomeBriefsStream.AsyncIterator
  • An asynchronous iterator that produces pages of home briefs.

    Declaration

    Swift

    actor Iterator
    extension PagedHomeBriefsStream.Iterator : AsyncIteratorProtocol