---
title: "mapFeatures(_:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/sequence/mapfeatures(_:)-83n0d"
---

# mapFeatures(_:)

Returns an array containing the results of mapping the given async closure over the sequence’s features.

## Declaration

```swift
func mapFeatures<Input, Output, Annotation>(_ transform: (Input) async throws -> Output) async rethrows -> [AnnotatedFeature<Output, Annotation>] where Self.Element == AnnotatedFeature<Input, Annotation>
```
