---
title: close()
framework: Foveated Streaming
role: symbol
role_heading: Instance Method
platforms: [visionOS 27.0+]
path: foveatedstreaming/foveatedstreamingprovidermessagechannel/close()
---

# close()

Closes the channel and finishes receivedMessages.

## Declaration

```swift
@MainActor final func close()
```
