---
title: triggerPendingUpload()
framework: gamesave
role: symbol
role_heading: Instance Method
path: gamesave/gamesavesynceddirectory/triggerpendingupload()
---

# triggerPendingUpload()

Triggers an upload of the directory for any changes that were pending.

## Declaration

```swift
func triggerPendingUpload() async -> Bool
```

## Return Value

Return Value true if there were pending uploads; otherwise false.

## See Also

### Finishing with a directory

- [close()](gamesave/gamesavesynceddirectory/close().md)
