Iterator

actor Iterator
extension PagedHomeBriefsStream.Iterator : AsyncIteratorProtocol

An asynchronous iterator that produces pages of home briefs.

  • Undocumented

    Declaration

    Swift

    typealias Element = [HomeBrief]
  • Asynchronously advances to the next page of home briefs and returns it, or nil if no next page exists.

    Declaration

    Swift

    func next() async throws -> [HomeBrief]?