---
title: resume()
framework: foveatedstreaming
role: symbol
role_heading: Instance Method
path: foveatedstreaming/foveatedstreamingsession/resume()
---

# resume()

Resumes a previously paused session.

## Declaration

```swift
@MainActor final func resume() async throws
```

## Discussion

Discussion note: A FoveatedStreamingSession.DisconnectReason error if a disconnection occurs.  Or, a CancellationError if the task is cancelled. When this function returns successfully without throwing an error the foveated streaming session’s status will equal FoveatedStreamingSession.Status.connected.
