<!--
{
  "availability" : [
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FoveatedStreaming",
  "identifier" : "/documentation/FoveatedStreaming/FoveatedStreamingProviderMessageChannel/receivedMessages",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foveated Streaming"
    ],
    "preciseIdentifier" : "s:17FoveatedStreaming0aB22ProviderMessageChannelC16receivedMessagesQrvp"
  },
  "title" : "receivedMessages"
}
-->

# receivedMessages

The messages the host app has sent to the extension.

```
@MainActor final var receivedMessages: some AsyncSequence<Data, Never> { get }
```

## Discussion

The sequence yields each message as the host sends it and finishes when the channel closes.

> Note: Intended for a single consumer.  Iterate ``doc://com.apple.FoveatedStreaming/documentation/FoveatedStreaming/FoveatedStreamingProviderMessageChannel/receivedMessages`` from one place only;
> consuming it concurrently from multiple tasks is not supported.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)