---
title: stopSync()
framework: realitykit
role: symbol
role_heading: Instance Method
path: realitykit/multipeerconnectivityservice/stopsync()
---

# stopSync()

Stops multipeer synchronization.

## Declaration

```swift
func stopSync()
```

## Discussion

Discussion Call this method to stop multipeer syncing with connected peers. To resume syncing after calling this method, call startSync().

## See Also

### Pausing and resuming

- [startSync()](realitykit/multipeerconnectivityservice/startsync().md)
