    struct PagedHistoryStream

    extension PagedHistoryStream : AsyncSequence

An asynchronous sequence of pages of history items.

This stream handles the pagination logic, allowing you to iterate through pages of history results.
- `


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


  ` The type of element produced by this asynchronous sequence.

  #### 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>

- `


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


  ` The type of asynchronous iterator that produces elements of this
  asynchronous sequence.

  #### Declaration

  Swift

      typealias AsyncIterator = PagedHistoryStream.https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PagedHistoryStream/Iterator.html

- `


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


  ` The type of errors produced when iteration over the sequence fails.

  #### Declaration

  Swift

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

- `


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


  ` Creates an asynchronous iterator that produces elements of this sequence.

  #### Declaration

  Swift

      func makeAsyncIterator() -> PagedHistoryStream.https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PagedHistoryStream.html#/s:13GoogleHomeSDK18PagedHistoryStreamV13AsyncIteratora

- `


  ### [Iterator](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PagedHistoryStream/Iterator.html)


  ` An asynchronous iterator that produces pages of history items.

  #### Declaration

  Swift

      actor Iterator

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