---
title: waitForAll()
framework: Swift
role: symbol
role_heading: Instance Method
platforms: [iOS 13.0+, iPadOS 13.0+, Mac Catalyst 13.0+, macOS 10.15+, tvOS 13.0+, visionOS 1.0+, watchOS 6.0+]
path: swift/taskgroup/waitforall()
---

# waitForAll()

Wait for all of the group’s remaining tasks to complete.

## Declaration

```swift
nonisolated(nonsending) mutating func waitForAll() async
```

## See Also

### Accessing Individual Results

- [next()](swift/taskgroup/next().md)
- [next(isolation:)](swift/taskgroup/next(isolation:).md)
- [isEmpty](swift/taskgroup/isempty.md)
