    actor Iterator

    extension https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PagedHistoryStream.html.Iterator : AsyncIteratorProtocol, SendableMetatype

An asynchronous iterator that produces pages of history items.
- `


  ### [Element](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PagedHistoryStream/Iterator#/s:13GoogleHomeSDK18PagedHistoryStreamV8IteratorC7Elementa)


  ` Undocumented

  #### Declaration

  Swift

      typealias Element = https://developers.home.google.com/reference/swift/GoogleHomeSDK/Classes/HistoryQuery.html.Paged<https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HistoryItem.html>

- `


  ### [Failure](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PagedHistoryStream/Iterator#/s:13GoogleHomeSDK18PagedHistoryStreamV8IteratorC7Failurea)


  ` The type of failure produced by iteration.

  #### Declaration

  Swift

      typealias Failure = https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError.html

- `


  ### [next()](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PagedHistoryStream/Iterator#/s:13GoogleHomeSDK18PagedHistoryStreamV8IteratorC4nextAA0E5QueryC0D0Vy_AA0E4ItemVGSgyYaKF)


  ` Asynchronously advances to the next page of history items and returns it, or `nil` if no
  next page exists.
  Throws
  A `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeError.html` if fetching the next page fails.

  #### Declaration

  Swift

      func next() async throws -> https://developers.home.google.com/reference/swift/GoogleHomeSDK/Classes/HistoryQuery.html.Paged<https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HistoryItem.html>?

  #### Return Value

  The next page of history items, or `nil` if the end of the sequence is reached.