mapFeatures(_:)

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

Declaration

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